Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Louisym/MiniCC
/ ToolResultBlock
Class
ToolResultBlock
tutorials/07_auto_compaction.py:54–59 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
52
53
@dataclass(frozen=True)
54
class
ToolResultBlock:
55
tool_use_id: str
56
tool_name: str
57
output: str
58
is_error: bool = False
59
type: str =
"tool_result"
60
61
ContentBlock = TextBlock | ToolUseBlock | ToolResultBlock
62
Callers
1
tool_result
Method · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected