ToolScope
Inspect agent tool activity before another run.
Offline deterministic audit. This does not intercept calls or enforce permissions.Audit a trace against a policy
Trace fields: id, tool, status, cost_usd, duration_ms, optional url.
Missing cost or duration makes totals incomplete. Duration is the sum of tool durations, not wall-clock time.