MCPcopy
hub / github.com/IBM/AssetOpsBench / ToolCall

Class ToolCall

src/agent/models.py:20–29  ·  view source on GitHub ↗

A single tool invocation made by the agent.

Source from the content-addressed store, hash-verified

18
19@dataclass
20class 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

Callers 6

_build_trajectoryFunction · 0.85
runMethod · 0.85
_build_trajectoryFunction · 0.85
build_trajectoryFunction · 0.85

Calls

no outgoing calls

Tested by 1