{"version":"2.1.324","anchor":"tool-use-id-and-session-id-sent-as-request-headers","canonical_anchor":"tool-use-id-and-session-id-sent-as-request-headers","heading":"Requests now carry the session ID and the tool call they belong to","tier":"internal","area":"API Requests","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.324\/e\/tool-use-id-and-session-id-sent-as-request-headers","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.324","markdown":"### Requests now carry the session ID and the tool call they belong to\n\nClaude Code now sends a session ID header with requests, plus a tool-use ID header when the request comes from a tool call\n\n**What**\n\nRequests Claude Code sends now include extra headers (labels attached to a web request):\n\n- `X-Frame-Claude-Code-Session-Id`, which identifies your session, meaning the current conversation\n\n- `X-Frame-Tool-Use-Id`, which identifies the tool call the request came from, sent when there is one and its ID has the expected form\n\nA tool call is a request from Claude for Claude Code to do something, such as run a command.\n\n**Why**\n\nThe server receiving a request can now tell which session and which tool call it belongs to.\n\n- Area: API Requests\n- Tier: Under the hood\n- Useful: 2\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: no"}