[DOCS] Status line docs missing `effort.level` and `thinking.enabled` stdin fields
Documentation Type
Incorrect/outdated documentation
Documentation Location
https://code.claude.com/docs/en/statusline
Section/Topic
"Available data" and "Full JSON schema" in the status line documentation
Current Documentation
The docs currently say:
Claude Code sends the following JSON fields to your script via stdin: |model.id,model.display_name| Current model identifier and display name | |cwd,workspace.current_dir| Current working directory. Both fields contain the same value;workspace.current_diris preferred for consistency withworkspace.project_dir. | |workspace.project_dir| Directory where Claude Code was launched, which may differ fromcwdif the working directory changes during a session | ... |agent.name| Agent name when running with the--agentflag or agent settings configured |
It also says:
Your status line command receives this JSON structure via stdin: ``json { "cwd": "/current/working/directory", "session_id": "abc123...", "model": { "id": "claude-opus-4-6", "display_name": "Opus" }, ..., "agent": { "name": "security-reviewer" } } ``
The page does not document the newly added effort.level or thinking.enabled fields anywhere in the available-data table or JSON schema.
What's Wrong or Missing?
Changelog v2.1.119 says: "Status line: stdin JSON now includes effort.level and thinking.enabled".
The status line page presents the stdin payload as an explicit field list plus a full JSON schema, but both are missing these new fields. That makes the page outdated for users who want to show the current effort level or thinking state in a custom status line.
Suggested Improvement
Update https://code.claude.com/docs/en/statusline to document both new fields in the two places that describe the stdin payload:
- Add rows to the "Available data" table for:
effort.level— current effort level for the session/turnthinking.enabled— whether thinking is currently enabled
- Add both fields to the "Full JSON schema" example.
- If either field can be absent or
nullin some situations, document that in the "Fields that may be absent" or "Fields that may benull" notes.
Impact
Medium - Makes feature difficult to understand
Additional Context
Affected Pages:
| Page | Context |
|------|---------|
| https://code.claude.com/docs/en/statusline | Primary status line stdin field reference and JSON schema |
Total scope: 1 page affected
Source: Changelog v2.1.119
Exact changelog entry: Status line: stdin JSON now includes effort.level and thinking.enabled
4 Comments
Found 3 possible duplicate issues:
This issue will be automatically closed as a duplicate in 3 days.
🤖 Generated with Claude Code
Small follow-up with a working example for anyone who lands here before the docs are updated.
These are not new
settings.jsonkeys. They are extra fields in the JSON payload passed to yourstatusLine.commandvia stdin.~/.claude/settings.json~/.claude/statusline.shWith stdin like:
that renders:
Using
// emptyis important because these fields can be absent depending on session state / model support.Issue #52616 Verification
Title: [DOCS] Status line docs missing
effort.levelandthinking.enabledstdin fieldsIssue Date: 2026-04-24
Verification Date: 2026-04-29
Status: RESOLVED
---
Issue Summary
This issue reports that the status line documentation omitted the newly added
effort.levelandthinking.enabledstdin fields from both the Available data table and the Full JSON schema example.---
Verification Results
Claim 1: The Available data table is missing
effort.levelandthinking.enabledStatus: RESOLVED
At https://code.claude.com/docs/en/statusline, lines 170-171, the table now includes both fields: "
effort.level| Current reasoning effort (low,medium,high,xhigh, ormax). Reflects the live session value, including mid-session/effortchanges. Absent when the current model does not support the effort parameter" and "thinking.enabled| Whether extended thinking is enabled for the session".Verdict: The Available data section now documents both reported missing stdin fields.
---
Claim 2: The Full JSON schema is missing
effort.levelandthinking.enabledStatus: RESOLVED
At https://code.claude.com/docs/en/statusline, lines 231-236, the schema now includes both objects:
"effort": { "level": "high" }and"thinking": { "enabled": true }. The same page also documents absence conditions at lines 263-268, including "effort: appears only when the current model supports the reasoning effort parameter".Verdict: The Full JSON schema has been updated to include both fields, and the page now documents the absence condition for
effort.---
Current State
| Claim | Status |
|-------|--------|
| Available data table was missing
effort.levelandthinking.enabled| RESOLVED || Full JSON schema was missing
effort.levelandthinking.enabled| RESOLVED |---
Suggested Fix
N/A - issue has been resolved.
---
References
effort.levelandthinking.enabledeffort.levelandthinking.enabledeffort---
Conclusion & Recommendation
Primary Concern: The issue reported that the status line stdin field reference had not been updated to include
effort.levelandthinking.enabled.Resolution Status: RESOLVED
Recommendation: CLOSE
The current status line page now documents both fields in the Available data table and in the Full JSON schema. The reported documentation gap no longer appears in the current docs.
---
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.