MCPServer tool result content.

interface MCPServerToolResultContent {
    call_id: string;
    name?: string;
    result: unknown;
    server_name?: string;
    signature?: string;
    type: "mcp_server_tool_result";
}

Properties

call_id: string

Required. ID to match the ID from the function call block.

name?: string

Name of the tool which is called for this specific tool call.

result: unknown

The output from the MCP server call. Can be simple text or rich content.

server_name?: string

The name of the used MCP server.

signature?: string

A signature hash for backend validation.

type: "mcp_server_tool_result"