22 pages for --json.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
task-budgets
Claude Developer Platform · in the page
build-with-claude/task-budgets
…": "bash", "input": { "command": "cat package.json && npm audit --json" } } ] } ``` Suppose this assistant message (thinking plus the tool call) totals 5,000 generated tokens. The countdo…
access-transparency-log
Claude Developer Platform · in the page
manage-claude/access-transparency-log
…pend-only check started from, and a count of events by outcome. Pass `--json` to get the same report as one JSON object on each line. Each event has one of four outcomes: * **Verified:** the leaf reb…
DCF Model Rubric
Claude Developer Platform · in the page
managed-agents/define-outcomes
…023-06-01" \ -H "anthropic-beta: managed-agents-2026-04-01" \ --json '{ "agent": "'"$AGENT_ID"'", "environment_id": "'"$ENVIRONMENT_ID"'", "title": "Financial analysis on Cos…
skills
Claude Developer Platform · in the page
managed-agents/skills
…023-06-01" \ -H "anthropic-beta: managed-agents-2026-04-01" \ --json '{ "name": "Financial Analyst", "model": "claude-opus-5-5", "system": "You are a financial analysis agent…
Manage multiple agents with agent view
Claude Code CLI · in the page
agent-view
…d session state from a script or another program, use [`claude agents --json`](#read-session-state-from-a-script) rather than the files under `~/.claude/jobs/`. While agent view is open, Claude Code…
Claude Code changelog
Claude Code CLI · in the page
changelog
…g * Fixed `claude --help` text for `--tools`, `--resume`, `--debug`, `--json-schema`, `--disable-slash-commands`, `--system-prompt-snapshot` and `claude update` to match actual behavior * Fixed `claud…
CLI reference
Claude Code CLI · in the page
cli-reference
…--cwd <path>` to show only sessions started under that directory, or `--json` to print active sessions as a JSON array for scripting (`--json --all` also includes completed background sessions). Pass…
Error reference
Claude Code CLI · in the page
errors
…ing-was-stashed-because-a-folder-replaced-a-tracked-file) | | `Error: --json-schema is not a valid JSON Schema` | [Command-line errors](#the-json-schema-value-is-not-a-valid-json-schema) | | `Error: I…
Run Claude Code programmatically
Claude Code CLI · in the page
headless
…put conforming to a specific schema, use `--output-format json` with `--json-schema` and a [JSON Schema](https://json-schema.org/) definition. The response includes metadata about the request (session…
Test plugins with evals
Claude Code CLI · in the page
plugin-evals
…the given tags. Put the target before `--tag`, `--allow-tools`, and `--json`. The first two take a list and `--json` takes an optional path, so each of them reads a target that follows as its own val…
Plugin commands reference
Claude Code CLI · in the page
plugins/cli-reference
…>` | Accept the displayed install command whose `sha256` a previous [`--json` run](#plugin-json-result) reported in `shownCommand`, in place of `-y`. Can't be combined with `-y`. See [Accept a display…
Host and maintain a marketplace
Claude Code CLI · in the page
plugins/host-marketplace
…l) to accept the command. To accept only the command that a previous `--json` run displayed, pass [`--accept-command`](/docs/en/plugins/cli-reference#plugin-install) with the `sha256` the run reported…
Plugin loading reference
Claude Code CLI · in the page
plugins/loading
…`, which is what you see in settings files and in `claude plugin list --json`. The part after `@` tells you where Claude Code found the plugin: | ID ends in | How the plugin got there | How you turn…
Use the mods API
Claude Code CLI · in the page
plugins/mods/api
…) => { const status = await $.process.run(['gh', 'pr', 'checks', '--json', 'state']) // Replace the line under the prompt with the latest summary $.ui.status('checks: ' + summarize(status.…
Mods reference
Claude Code CLI · in the page
plugins/mods/reference
…he mods API calls it makes. `--strict` treats warnings as errors and `--json` prints a machine-readable report. | | [`claude plugin test [directory]`](/docs/en/plugins/mods/test#write-a-test) | Runs e…
Troubleshoot plugins
Claude Code CLI · in the page
plugins/troubleshooting
…then retry. | To see these programmatically, run `claude plugin list --json` in your shell. Plugins with problems carry an `errors` field with the messages and an `errorDetails` field with a `type` f…
Manage sessions
Claude Code CLI · in the page
sessions
…s` * Flags that read the output, such as `--output-format json` or `--json-schema` * Flags that limit or rewind the run, such as `--max-turns` or `--max-budget-usd` With any of these, or when […
Find bugs with ultrareview
Claude Code CLI · in the page
ultrareview
…nd whether to post the findings: | Flag | Description | | - | - | | `--json` | Print the raw `bugs.json` payload instead of the formatted findings | | `--timeout <minutes>` | Maximum minutes to wait…
Week 18 · April 27 – May 1, 2026
Claude Code CLI · in the page
whats-new/2026-w18
…ew` non-interactively from CI or scripts: prints findings to stdout (`--json` for raw output) and exits 0 on completion or 1 on failure`--dangerously-skip-permissions` now bypasses prompts for writes…
Week 21 · May 18–22, 2026
Claude Code CLI · in the page
whats-new/2026-w21
…d with `Ctrl+T` in `claude agents` stay alive when idle`claude agents --json` lists live sessions as JSON for scripting, such as status bars and session pickersThe PowerShell tool is now enabled by de…
Week 24 · June 8–12, 2026
Claude Code CLI · in the page
whats-new/2026-w24
…rsation; pin a specific one with the `language` setting`claude agents --json` adds `--all` to include completed sessions plus new `id` and `state` fields, and no longer omits blocked or newly dispatch…
Week 37 · September 7–11, 2026
Claude Code CLI · in the page
whats-new/2026-w37
…ADLINE_MS` to change the deadline, or to `0` to remove the limitPass `--json` to `claude plugin install`, `uninstall`, `update`, `enable`, or `disable` to print the result as [one JSON object on the l…