Follow Discord
Sweep 22 Sep 2026 · 17:19Z Build v2.1.280 501 read Stable v2.1.267 Latest v2.1.280 Next v2.1.280 Feeds RSS JSON llms.txt Unofficial
Search the documentation

11 pages for backgrounding.

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

Agent SDK reference - Python Claude Code CLI · in the page agent-sdk/python …[moves a long MCP tool call to the background](/docs/en/mcp#automatic-backgrounding-of-long-tool-calls), the tool result for that call holds only a placeholder and the call's real result arrives in th… Manage multiple agents with agent view Claude Code CLI · in the page agent-view …art. Press `Esc` to return to your shell; if you opened agent view by backgrounding a session with `←`, `Esc` returns to that conversation instead. Your sessions keep running while you're away and rea… Claude Code changelog Claude Code CLI · in the page changelog …epeated clicks on a `/fork` receipt, each under a second apart, never backgrounding the session right away while it waited for the current tool to finish * Fixed plugin LSP servers that reject `shut… Environment variables Claude Code CLI · in the page env-vars …ASKS` | Set to `1` to force-enable automatic backgrounding of long-running agent tasks. When enabled, subagents are moved to the background after running for approximately two… Hooks reference Claude Code CLI · in the page hooks …hen the agent moved to the background, so a swap that happened before backgrounding is reflected there. `modelsUsed` and the backgrounding-time `resolvedModel` behavior require Claude Code v2.1.212 or… Interactive mode Claude Code CLI · in the page interactive-mode …ou to continue working while long-running processes execute. ### How backgrounding works When Claude Code runs a command in the background, it runs the command asynchronously and immediately returns… Connect Claude Code to tools via MCP Claude Code CLI · in the page mcp …uns past two minutes moves to a background task first. See [Automatic backgrounding of long tool calls](#automatic-backgrounding-of-long-tool-calls). ### Automatic backgrounding of long tool calls A… Run prompts on a schedule Claude Code CLI · in the page scheduled-tasks …Closing the terminal or letting the session exit stops them firing. [Backgrounding the session](/docs/en/agent-view#from-inside-a-session) carries `/loop` tasks over to a background session, which ke… Extend Claude with skills Claude Code CLI · in the page skills …adjust each boundary. The PowerShell tool applies the same timeout, backgrounding, and output-ceiling behavior to the commands it runs. See the [PowerShell tool](/docs/en/tools-reference#powershell-… Create custom subagents Claude Code CLI · in the page sub-agents …nds) [running past the end of its turn](/docs/en/interactive-mode#how-backgrounding-works). When that command ends, Claude Code sends the subagent a notification. A background subagent's results reac… Tools reference Claude Code CLI · in the page tools-reference …SABLE_BACKGROUND_TASKS=1`](/docs/en/env-vars#variables) disables auto-backgrounding along with the rest of the background task functionality. The result of a command moved to the background states wh…
Feedback