{"version":"2.1.271","anchor":"server-tool-use-turn-metadata-now-includes-agentid","canonical_anchor":"server-tool-use-turn-metadata-now-includes-agentid","heading":"Server tool-use turn metadata now includes agentId","tier":"internal","area":"Turn Handling","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.271\/e\/server-tool-use-turn-metadata-now-includes-agentid","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.271","markdown":"### Server tool-use turn metadata now includes agentId\n\nServer-side tool-use tracking now records which agent made the call\n\n**What**\n\nThe metadata Claude Code builds for each turn where it tracks model and effort level now also includes an optional `agentId` field, alongside the existing model, effort, and message-count fields.\n\n**Why**\n\nSince a spawned subagent (a separate Claude instance handling a subtask) can now be identified by its `agentId`, this lets per-turn tracking data be tied back to the specific agent that made a given tool call, rather than only to the overall session.\n\n- Area: Turn Handling\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 1\/5"}