MCPcopy Create free account
hub / github.com/Louisym/MiniCC / ToolResultBlock

Class ToolResultBlock

tutorials/05_agentic_loop_complete.py:47–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45
46@dataclass(frozen=True)
47class ToolResultBlock:
48 tool_use_id: str
49 tool_name: str
50 output: str
51 is_error: bool = False
52 type: str = "tool_result"
53
54ContentBlock = TextBlock | ToolUseBlock | ToolResultBlock
55

Callers 1

tool_resultMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected