Skip to content
1 min read · 146 words

Interface: WrapperToolCallResponseCommand

Defined in: src/batteries/llm/claude_code_cli/wire.ts:118

The adapter's answer to a tool_call_request — a finished CallToolResult-shaped payload the wrapper hands straight to the CLI's MCP bridge with no further interpretation.

Properties

PropertyTypeDescriptionDefined in
requestIdstringCorrelates with the requestId on the originating tool_call_request event.src/batteries/llm/claude_code_cli/wire.ts:122
results{ content: WrapperToolResultContentBlock[]; isError?: boolean; }A finished CallToolResult-shaped payload, handed straight to the CLI's MCP bridge.src/batteries/llm/claude_code_cli/wire.ts:124
results.contentWrapperToolResultContentBlock[]MCP content blocks to return for the call.src/batteries/llm/claude_code_cli/wire.ts:126
results.isError?booleanWhether the tool call itself failed (as opposed to the wrapper/transport).src/batteries/llm/claude_code_cli/wire.ts:128
type"tool_call_response"Discriminant for the WrapperCommand union.src/batteries/llm/claude_code_cli/wire.ts:120