Configuration for tool initialization

interface ToolConfig {
    name: string;
    description: string;
    isLongRunning?: boolean;
    shouldRetryOnFailure?: boolean;
    maxRetryAttempts?: number;
}

Properties

name: string

Name of the tool

description: string

Description of the tool

isLongRunning?: boolean

Whether the tool is a long running operation, which typically returns a resource id first and finishes the operation later.

shouldRetryOnFailure?: boolean

Whether the tool execution should be retried on failure

maxRetryAttempts?: number

Maximum retry attempts