Follow Discord
Sweep 06 Nov 2026 · 01:32Z Build v2.1.319 537 read Stable v2.1.311 Latest v2.1.318 Next v2.1.319 Feeds RSS JSON llms.txt llms-full.txt Unofficial
HomeDocsSearch
Search the documentation

6 pages for agent.spawn.

Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.

Orchestrate teams of Claude Code sessions Claude Code CLI · in the page agent-teams …de.claude.com/docs/en/plugins/mods/overview.md) sets a model in its [`agent.spawn`](https://code.claude.com/docs/en/plugins/mods/reference#subagents) hook, Claude Code uses that model in place of the… Claude Code changelog Claude Code CLI · in the page changelog …support for rewriting a workflow agent's `prompt` and `model` in the `agent.spawn` mod hook, which could only refuse workflow agents before * Added the `prompt.change` mod hook, raised when the prompt… Use the mods API Claude Code CLI · in the page plugins/mods/api …n` | Rejects with an error whose message ends with `<reason>` | | [`$.agent.spawn`](https://code.claude.com/docs/en/plugins/mods/reference#mods-api-methods) | Resolves with `{ deny: '<reason>' }` and… Mods reference Claude Code CLI · in the page plugins/mods/reference …retooluse) hook changed the mods API call the event came from, or an `agent.spawn` hook changed an agent started by that call. `lent` when a method another mod adds to the mods API fired that event, u… Troubleshoot a mod Claude Code CLI · in the page plugins/mods/troubleshoot …the mod's name and names a `$.prompt.submit`, `$.command.run`, or `$.agent.spawn` call, as in `first-mod: its session.start ran again in a fresh copy; the $.prompt.submit call it had already made was… Create custom subagents Claude Code CLI · in the page sub-agents …de.claude.com/docs/en/plugins/mods/overview.md) sets a model in its [`agent.spawn`](https://code.claude.com/docs/en/plugins/mods/reference#subagents) hook, Claude Code uses that model in place of the…
Feedback