Member Junction
    Preparing search index...

    Result from calling an MCP tool

    interface MCPToolCallResult {
        content: MCPContentBlock[];
        durationMs: number;
        error?: string;
        errorCode?: number;
        isToolError: boolean;
        structuredContent?: Record<string, unknown>;
        success: boolean;
    }
    Index

    Properties

    content: MCPContentBlock[]

    Unstructured content from the tool

    durationMs: number

    Execution duration in milliseconds

    error?: string

    Error message if failed

    errorCode?: number

    Error code if failed

    isToolError: boolean

    Whether the tool indicated an error

    structuredContent?: Record<string, unknown>

    Structured result (if provided by tool)

    success: boolean

    Whether the call succeeded