{"version":"2.1.330","anchor":"background-task-payload-gains-tool-use-id-for-off-host-tasks","canonical_anchor":"background-task-payload-gains-tool-use-id-for-off-host-tasks","heading":"Off-host background tasks now report the ID of the call that started them","tier":"internal","area":"SDK","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.330\/e\/background-task-payload-gains-tool-use-id-for-off-host-tasks","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.330","markdown":"### Off-host background tasks now report the ID of the call that started them\n\nBackground tasks running off the machine now carry a tool_use_id, the same ID that appears on the task's completion notice\n\n**What**\n\nApps built on the Claude Code SDK (the kit for running Claude Code inside other programs) receive a live list of background tasks. A task running somewhere other than the local machine was marked only with `off_host`. It can now also carry an optional `tool_use_id`, set only alongside `off_host`. This is the same ID that appears on that task's `task_notification`.\n\n**Why**\n\nApps hosting Claude Code can match an off-machine task in the list with the notification it later sends.\n\n- Area: SDK\n- Names: `off_host`, `tool_use_id`\n- Tier: Under the hood\n- Useful: 2\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: no"}