{"version":"2.1.326","anchor":"toolrun-joins-toolcall-for-ref-handling-sandbox-dirs-trac","canonical_anchor":"toolrun-joins-toolcall-for-ref-handling-sandbox-dirs-trac","heading":"tool.run handled like tool.call , and sandbox tracks directories to create","tier":"internal","area":"Sandbox","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.326\/e\/toolrun-joins-toolcall-for-ref-handling-sandbox-dirs-trac","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.326","markdown":"### `tool.run` handled like `tool.call`, and sandbox tracks directories to create\n\nA reference result once returned only for `tool.call` now also comes back for `tool.run`, and the sandbox records which extra directories it created\n\n**What**\n\nThere are two separate changes:\n\n- `tool.run`: one step returns a reference result, a pointer to the outcome rather than the outcome itself. It used to do this only for the `tool.call` event. It now does the same for `tool.run`.\n\n- Sandbox directories: the sandbox is the restricted area Claude Code runs commands in. It now keeps track of extra directories it needs to create, which ones it created, and which ones it could not create.\n\n**Why**\n\nThe first change means `tool.run` now gets the same reference handling that `tool.call` already had. The second means Claude Code now knows when an extra sandbox directory failed to be created, not only when it succeeded.\n\n- Area: Sandbox\n- Names: `tool.run`\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: no"}