tool
Class info¶
Classes¶
| Name | Children | Inherits |
|---|---|---|
| JsonOutput pyt3client.tool Result of a tool whose server advertises no `outputSchema`. |
||
| RootModel pyt3client.tool |
||
| ToolSpec pyt3client.tool A T3 Code MCP tool: its wire name plus the models for its arguments and result. |
🛈 DocStrings¶
Typed handles for T3 Code MCP tools.
Every tool in pyt3client.models.tools is exposed as a ToolSpec constant
(for example THREAD_LAUNCH) that ties the tool's wire name to its generated
input and output models. T3Client.call takes one, so calls are type-checked
end to end without hand-written signatures for each of the ~50 tools.
JsonOutput
¶
Bases: RootModel[JsonValue]
Result of a tool whose server advertises no outputSchema.
Those tools (for example t3_pending_request or t3_queue) still answer
with a JSON text block; it is decoded but not validated against a schema.
Source code in src/pyt3client/tool.py
16 17 18 19 20 21 | |
ToolSpec
dataclass
¶
A T3 Code MCP tool: its wire name plus the models for its arguments and result.
Source code in src/pyt3client/tool.py
24 25 26 27 28 29 30 31 32 33 | |