MCPcopy Create free account
hub / github.com/codeaashu/claude-code / mapToolResultToToolResultBlockParam

Function mapToolResultToToolResultBlockParam

src/tools/LSPTool/LSPTool.ts:415–421  ·  view source on GitHub ↗
(output, toolUseID)

Source from the content-addressed store, hash-verified

413 }
414 },
415 mapToolResultToToolResultBlockParam(output, toolUseID) {
416 return {
417 tool_use_id: toolUseID,
418 type: 'tool_result',
419 content: output.result,
420 }
421 },
422} satisfies ToolDef<InputSchema, Output>)
423
424/**

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected