Expand description
Tool calls in an agent’s transcript, for tracevault check (which counts
them) and the stream hook (which keeps a fileless agent’s tool calls in a
local log check can read).
The server parses the same schemas in its per-agent adapters
(tracevault-core/src/agent_adapter/ in visdom-ai-tracing). A schema change
there likely needs one here too, or check stops seeing that agent’s calls.
Functions§
- count_
tool_ calls - Count the tool calls in the transcript at
path, by tool name. The file is read line by line, so a long session’s transcript is never held in memory whole. A missing or unreadable file counts nothing, and lines that are not JSON (including invalid UTF-8) are skipped. - tool_
call_ names - Names of the tools called in one transcript record, in every transcript schema a supported agent writes: