On this page

0212. Model tool calls and usage categories through the runner

Context

ModelReply carried text, a terminal and folded token counts; calls lived on AnthropicResponse, so AnthropicReplay.call_model failed closed on calls. ToolResult lacked provider IDs, and usage lacked categories and reasoning. ADR-0121's Step 24 addendum avoided breaking reply fields; M14.1 needs them.

Decision

Amends 0108: incomplete arguments remain unobservable at any runner port. Amends 0112: calls are fixture-tested through run() (anth-replay-e2e). Amends 0121 (Step 24): ModelPort stays immutable/reply-only; fields change.

Alternatives considered

Consequences