Unverified50% confidenceFactExact time
Claude 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.
1
Sources
50%
Confidence
Medium-term (~90 days)
Relevance
9/24/2026
First Seen
Valid until: 12/23/2026
Sources
Related Entities
Related Claims
UnverifiedClaude Code provides the `claude -p` command for non-interactive invocation, supporting the return of output in structured formats such as JSON.74% similarUnverifiedEach time Claude Code interacts with the model, it must attach system instructions and tool JSON Schema definitions, and this fixed overhead alone can account for thousands of tokens72% 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.70% similarUnverifiedClaude Code session persistence uses the JSONL format with append-mode writes to support crash recovery and resume.70% similarVerifiedClaude Code is essentially a Node.js application that communicates with a backend large language model via API.67% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/946528API
curl https://kongchang.com/api/v1/knowledge/claims/946528MCP
get_claim(id=946528)