ADK for TypeScript: API Reference
    Preparing search index...

    Interface ToolboxToolLike

    这是一个用于从工具箱(Toolbox)客户端加载的工具的结构化接口(Structural interface)。

    interface ToolboxToolLike {
        description?: string;
        name?: string;
        parameters?: ToolInputParameters;
        execute?(...args: never[]): unknown;
    }
    description?: string

    该工具的描述。

    name?: string

    该工具的名称。

    parameters?: ToolInputParameters

    该工具的可选参数结构(参数格式)。