mcp-use TypeScript API
    Preparing search index...

    Interface LlmToolResultEvent

    Result of an MCP tool invocation.

    interface LlmToolResultEvent {
        isError: boolean;
        result: unknown;
        toolCallId: string;
        toolName: string;
        type: "tool-result";
    }
    Index
    isError: boolean

    Whether the tool reported an error.

    result: unknown

    Raw MCP tool result.

    toolCallId: string

    Provider-generated tool call identifier.

    toolName: string

    Invoked tool name.

    type: "tool-result"

    Event discriminator.