MCP Tool Result • TypeScript AI Agent SDK
MCPToolResult: TypeScript MCPToolResult class
MCPToolResult
Defined in the MCP module.
TypeScript AI Agent
TypeScript MCPToolResult class
%%{init: {'theme': 'base', 'themeVariables': { 'primaryColor': '#8B0000', 'primaryTextColor': '#fff', 'primaryBorderColor': '#710101', 'lineColor': '#189AB4', 'secondaryColor': '#189AB4', 'tertiaryColor': '#fff' }}}%%
graph LR
agent["Agent"] -- "uses" --> tool["Tool: MCPToolResult"]
tool -- "returns" --> result["Result"]
style tool fill:#189AB4,color:#fff
style agent fill:#8B0000,color:#fff
style result fill:#8B0000,color:#fffSource
View on GitHubsrc/mcp/index.ts at line 102