環境変数

CLAUDE_CODE_ENABLE_FINE_GRAINED_TOOL_STREAMING

Claude が生成中にツール呼び出しの入力を API からストリーミングするかどうかを制御する。オフの場合、長いファイル書き込みのような大きなツール入力は、Claude の生成完了後に初めて届くため、ハングしているように見えることがある。Anthropic API ではデフォルトで有効。Amazon Bedrock と Google Cloud's Agent Platform では、デプロイされたコンテナが対応しているモデルごとに有効になる。0 を設定するとオプトアウトできる。ANTHROPIC_BASE_URL、ANTHROPIC_VERTEX_BASE_URL、ANTHROPIC_BEDROCK_BASE_URL 経由でプロキシを経由するときに強制的に有効にするには 1 を設定する。Microsoft Foundry とゲートウェイ接続ではデフォルトでオフ。

英語原文(公式ドキュメントより)

Controls whether tool call inputs stream from the API as Claude generates them. With this off, a large tool input such as a long file write arrives only after Claude finishes generating it, which can look like it's hanging. Enabled by default on the Anthropic API. On Amazon Bedrock and Google Cloud's Agent Platform, enabled per model where the deployed container supports it. Set to 0 to opt out. Set to 1 to force on when routing through a proxy via ANTHROPIC_BASE_URL, ANTHROPIC_VERTEX_BASE_URL, or ANTHROPIC_BEDROCK_BASE_URL. Off by default on Microsoft Foundry and gateway connections

まだ変更履歴との関連付けはありません