Sanity Library Reference Docs
    Preparing search index...

    Interface ClientToolDefinition

    Serialized tool definition forwarded from SDK consumers. Contains only the schema — the execute function stays on the client.

    interface ClientToolDefinition {
        description?: string;
        inputSchema: Record<string, unknown>;
        name: string;
        type: "function";
    }
    Index

    Properties

    description?: string
    inputSchema: Record<string, unknown>
    name: string
    type: "function"