Skip to content

Add CallToolRaw support#968

Open
rahultoppur wants to merge 1 commit into
modelcontextprotocol:mainfrom
rahultoppur:rtoppur/call-tool-raw
Open

Add CallToolRaw support#968
rahultoppur wants to merge 1 commit into
modelcontextprotocol:mainfrom
rahultoppur:rtoppur/call-tool-raw

Conversation

@rahultoppur
Copy link
Copy Markdown

@rahultoppur rahultoppur commented May 22, 2026

Implements the enhancement in #967.

MCP Gateway implementations frequently forward the results of a tools/call to clients unchanged. Unmarshaling ClientSession.CallTool into a *CallToolResult is expensive when proxying large tool responses. This change adds a CallToolRaw which implements this tools/call passthrough.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants