mcp-use TypeScript API
    Preparing search index...

    Type Alias ToolContextError

    ToolContextError: ToolError | ToolCancelledError

    Error that can appear in the "error" branch of ToolContextHandle: a ToolError when the tool answered with isError: true, or a ToolCancelledError when the host cancelled the call.