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

Class ToolContentBlock

mini_claude_code/models.py:7–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5 type: Literal['text', 'tool_use', 'tool_result']
6
7class ToolContentBlock(ContentBlock):
8 type: Literal['tool_use'] = 'tool_use'
9 id: str
10 name: str = ''
11 input: str = ''
12
13class TextContentBlock(ContentBlock):
14 type: Literal['text'] = 'text'

Callers 2

build_assistant_messageFunction · 0.90
tool_useMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected