What
There are two separate changes:
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 thetool.callevent. It now does the same fortool.run.- 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.
Why
The 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.
Names in the bundletool.run
Documented inclaude-code/plugins/mods/reference
The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.
Confirmed since
Anthropic's documentation has since written up tool.run, on Mods reference.
| `tool.run` | An allowed call is about to run. Requires Claude Code v2.1.326 or later. | `next(e)`, `{ deny: reason }`, or `{ result }` |plugins/mods/reference see the edit
One source agreesOne thing we can check says the same as this entry.
Anthropic's documentation agrees
Anthropic's documentation has since written up tool.run, on Mods reference.