4 pages for --forward-subagent-text.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
CLI reference
Claude Code CLI · in the page
cli-reference
…ion` | | `--forward-subagent-text` | Emit [subagent](/docs/en/sub-agents) text and thinking blocks in the output strea…
Environment variables
Claude Code CLI · in the page
env-vars
…de -p --output-format stream-json` output, the same behavior as the [`--forward-subagent-text`](/docs/en/cli-reference#cli-flags) flag. Use the variable when a harness invokes `claude` and can't pass…
Run Claude Code programmatically
Claude Code CLI · in the page
headless
…default**: the run's `tool_use` and `tool_result` blocks. * **With [`--forward-subagent-text`](/docs/en/cli-reference#cli-flags) or [`CLAUDE_CODE_FORWARD_SUBAGENT_TEXT`](/docs/en/env-vars)**: the run…
Week 29 · July 13–17, 2026
Claude Code CLI · in the page
whats-new/2026-w29
…maps two-key insert-mode sequences such as `jj` to Escape in vim mode`--forward-subagent-text` and `CLAUDE_CODE_FORWARD_SUBAGENT_TEXT` include subagent text and thinking blocks in [stream-json output]…