Unverified50% confidenceFactExact time
The -p parameter in the Claude Code command line is built on the Claude Code SDK at the underlying level, allowing prompts to be passed, permitted tools to be specified, and JSON or streaming JSON output to be requested.
1
Sources
50%
Confidence
Medium-term (~90 days)
Relevance
10/6/2026
First Seen
Valid until: 1/4/2027
Sources
Related Entities
Related Claims
UnverifiedClaude Code is Anthropic's command-line AI coding tool, supporting non-interactive calls by enabling Headless mode via the -p parameter.72% similarUnverifiedClaude Code's headless mode supports --output-format json to output structured data (including total cost, number of turns, and millisecond-level duration), which can be parsed with jq.68% similarVerifiedClaude Code's tool-calling capability is based on Anthropic's Tool Use API, which allows the model to invoke predefined system functions in structured JSON format.67% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/981487API
curl https://kongchang.com/api/v1/knowledge/claims/981487MCP
get_claim(id=981487)