A single tool invocation made by the agent.
| 18 | |
| 19 | @dataclass |
| 20 | class ToolCall: |
| 21 | """A single tool invocation made by the agent.""" |
| 22 | |
| 23 | name: str |
| 24 | input: dict |
| 25 | id: str = "" |
| 26 | output: object = None |
| 27 | duration_ms: float | None = None |
| 28 | """Wall-clock time spent inside the tool. ``None`` when the runner's |
| 29 | SDK does not expose per-tool timing hooks.""" |
| 30 | |
| 31 | |
| 32 | @dataclass |
no outgoing calls