CLI commands and flags

--prompt-suggestions

Outputs suggested follow-up user prompts after turns when streaming JSON in print mode.

Syntax

--prompt-suggestions

Example

Terminal
claude -p --prompt-suggestions --output-format stream-json --verbose "query"

Type to search the reference, templates and lessons.