Skip to content

Glossary: Agent Tools and MCP

-p (print mode)

Also written: claude -p

A Claude Code flag that runs one prompt without the interactive screen and prints the answer. Tools without an allow rule are refused rather than asked about.

Where the book teaches it

Related terms

--allowedTools