Skip to content

Command reference

--forward-subagent-text

Emits subagent text and thinking in the output stream, so each subagent's transcript can be reconstructed.

FlagsWork and taskscurrent

What the documentation does not say

Without it you get only the subagent's tool_use and tool_result blocks, which is why a fan-out looks silent in the log. Messages carry parent_tool_use_id, nested subagents included from v2.1.219. CLAUDE_CODE_FORWARD_SUBAGENT_TEXT does the same.

Since
2.1.211