CLI commands and flags

--include-partial-messages

Outputs streaming events incrementally when running in print mode with stream-json output.

Syntax

--include-partial-messages

Example

Terminal
claude -p --output-format stream-json --verbose --include-partial-messages "query"

Type to search the reference, templates and lessons.