changedOutput schema / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "base": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "commit": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "context_summary": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "files_changed": {
- "type": "integer"
- },
- "lines_added": {
- "type": "integer"
- },
- "lines_removed": {
- "type": "integer"
- }
- },
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "coverage": {
- "additionalProperties": false,
- "properties": {
- "omission_reasons": {
- "items": {
- "enum": [
- "untracked_omitted",
- "truncated",
- "redacted"
- ],
- "type": "string"
- },
- "type": "array"
- },
- "status": {
- "enum": [
- "complete",
- "partial"
- ],
- "type": "string"
- },
- "untracked_files_detected": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "untracked_files_included": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "untracked_files_omitted": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "required": [
- "status"
- ],
- "type": "object"
- },
- "cwd": {
- "type": "string"
- },
- "fingerprint": {
- "type": "string"
- },
- "isolation": {
- "enum": [
- "inherit",
- "ignore-config",
- "ignore-rules"
- ],
- "type": "string"
- },
- "max_input_bytes": {
- "type": "integer"
- },
- "model": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "Model override the previewed paid call would send (per-call param or server default); null = Codex would resolve it itself. Unvalidated by the preview."
- },
- "ok": {
- "const": true,
- "type": "boolean"
- },
- "paths": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "prompt_bytes": {
- "type": "integer"
- },
- "reasoning_effort": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "Reasoning-effort override the previewed paid call would send (per-call param or server default); null = Codex would resolve it itself. Unvalidated by the preview."
- },
- "redacted_paths": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "redacted_paths_count": {
- "type": "integer"
- },
- "sandbox": {
- "enum": [
- "read-only",
- "workspace-write",
- "danger-full-access"
- ],
- "type": "string"
- },
- "scope": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "security_warnings": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "server_version": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "tier": {
- "enum": [
- "consult",
- "propose",
- "apply"
- ],
- "type": "string"
- },
- "tool": {
- "const": "codex_dry_run",
- "type": "string"
- },
- "truncated": {
- "type": "boolean"
- },
- "truncation_hint": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "workspace_source": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "workspace_warning": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "would_call_model": {
- "type": "boolean"
- }
- },
- "required": [
- "cwd",
- "tier",
- "sandbox",
- "isolation",
- "would_call_model",
- "prompt_bytes",
- "coverage",
- "max_input_bytes"
- ],
- "type": "object"
- },
- {
- "properties": {
- "error": {
- "description": "Populated error envelope; full schema at resource codex://error-envelope",
- "type": "object"
- },
- "meta": {
- "type": "object"
- },
- "ok": {
- "const": false
- }
- },
- "required": [
- "ok",
- "error",
- "meta"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "base": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "commit": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "context_summary": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "files_changed": {
+ "type": "integer"
+ },
+ "lines_added": {
+ "type": "integer"
+ },
+ "lines_removed": {
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "coverage": {
+ "additionalProperties": false,
+ "properties": {
+ "omission_reasons": {
+ "items": {
+ "enum": [
+ "untracked_omitted",
+ "tree_changed_during_gather",
+ "truncated",
+ "redacted"
+ ],
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "redaction": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "inline_masks": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "masked_paths": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "withheld_paths": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "status": {
+ "enum": [
+ "complete",
+ "partial"
+ ],
+ "type": "string"
+ },
+ "untracked_files_detected": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "untracked_files_included": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "untracked_files_omitted": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "status"
+ ],
+ "type": "object"
+ },
+ "cwd": {
+ "type": "string"
+ },
+ "deadline_advisory": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Non-null when the previewed call would actually run the model AND its prompt size or reasoning effort risks the synchronous deadline; null otherwise (including whenever it would not call the model at all). Names the previewed PAID tool's own `_async` counterpart verbatim (e.g. codex_review_changes_async for a codex_dry_run preview) — never this dry-run tool's own name, which has no `_async` variant. A hint, not a refusal. codex_consult has no dry-run preview; prefer codex_consult_async for a high-effort or broad repo-grounded consult."
+ },
+ "fingerprint": {
+ "type": "string"
+ },
+ "isolation": {
+ "enum": [
+ "inherit",
+ "ignore-config",
+ "ignore-rules"
+ ],
+ "type": "string"
+ },
+ "max_input_bytes": {
+ "type": "integer"
+ },
+ "model": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Model override the previewed paid call would send (per-call param or server default); null = Codex would resolve it itself. Unvalidated by the preview."
+ },
+ "ok": {
+ "const": true,
+ "type": "boolean"
+ },
+ "paths": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "prompt_bytes": {
+ "type": "integer"
+ },
+ "reasoning_effort": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Reasoning-effort override the previewed paid call would send (per-call param or server default); null = Codex would resolve it itself. Unvalidated by the preview."
+ },
+ "redacted_paths": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "redacted_paths_count": {
+ "type": "integer"
+ },
+ "roots_source": {
+ "anyOf": [
+ {
+ "enum": [
+ "client",
+ "not_negotiated",
+ "probe_failed"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "sandbox": {
+ "enum": [
+ "read-only",
+ "workspace-write",
+ "danger-full-access"
+ ],
+ "type": "string"
+ },
+ "scope": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "security_warnings": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "server_version": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "tier": {
+ "enum": [
+ "consult",
+ "propose",
+ "apply"
+ ],
+ "type": "string"
+ },
+ "tool": {
+ "const": "codex_dry_run",
+ "type": "string"
+ },
+ "truncated": {
+ "type": "boolean"
+ },
+ "truncation_hint": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "workspace_source": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "workspace_warning": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "would_call_model": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "cwd",
+ "tier",
+ "sandbox",
+ "isolation",
+ "would_call_model",
+ "prompt_bytes",
+ "coverage",
+ "max_input_bytes"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "error": {
+ "description": "Populated error envelope; full schema at resource codex://error-envelope",
+ "type": "object"
+ },
+ "meta": {
+ "type": "object"
+ },
+ "ok": {
+ "const": false
+ }
+ },
+ "required": [
+ "ok",
+ "error",
+ "meta"
+ ],
+ "type": "object"
+ }
+]