Interface ToolRequest

interface ToolRequest {
    description?: string;
    handler: ((arg_string) => Promise<unknown>);
    id: string;
    name: string;
    parameters?: ToolRequestParameters;
    providerName?: string;
}

Properties

description?: string
handler: ((arg_string) => Promise<unknown>)

Type declaration

    • (arg_string): Promise<unknown>
    • Parameters

      • arg_string: string

      Returns Promise<unknown>

id: string
name: string
providerName?: string