Abstract
Base delay for retry in ms (will be used with exponential backoff)
Description of the tool
Whether the tool is a long running operation
Maximum retry attempts
Maximum delay for retry in ms
Name of the tool
Whether the tool execution should be retried on failure
Abstract
getGets the OpenAPI specification of this tool in the form of a FunctionDeclaration
Abstract
runRuns the tool with the given arguments and context This method must be implemented by subclasses
Arguments for the tool
Tool execution context
Result of the tool execution
Executes the tool with error handling and retries
Arguments for the tool
Tool execution context
Result of the tool execution or error information
Validates the arguments against the schema in the function declaration
Arguments to validate
True if arguments are valid
The base class for all tools