Stone.js API
    Preparing search index...
    • Build the SDK callback for one tool: log the call to stderr, run the handler, log the outcome, and wrap the result (or the error) as MCP content.

      Parameters

      Returns (args: Record<string, unknown>) => Promise<McpToolResult>

      The SDK tool callback.