changedOutput schema / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "active_tools": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "deprecation_policy": {
- "type": "string"
- },
- "error_envelope_resource": {
- "type": "string"
- },
- "fingerprint": {
- "type": "string"
- },
- "free_tools": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "name": {
- "type": "string"
- },
- "negative_scope": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "ok": {
- "const": true,
- "type": "boolean"
- },
- "prerequisites": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "sandboxes": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "scope": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "stability": {
- "type": "string"
- },
- "tiers": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "tool_details": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "async_lifecycle": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "activity_support": {
- "const": "codex_events",
- "type": "string"
- },
- "cancel_tool": {
- "type": "string"
- },
- "consume_tool": {
- "type": "string"
- },
- "event_age_field": {
- "type": "string"
- },
- "event_count_field": {
- "type": "string"
- },
- "last_event_field": {
- "type": "string"
- },
- "lifecycle": {
- "const": "codex_job_*",
- "type": "string"
- },
- "list_tool": {
- "type": "string"
- },
- "native_task_support": {
- "const": false,
- "type": "boolean"
- },
- "poll_after_field": {
- "type": "string"
- },
- "poll_tool": {
- "type": "string"
- },
- "progress_support": {
- "const": "none",
- "type": "string"
- },
- "result_ready_field": {
- "type": "string"
- },
- "result_tool": {
- "type": "string"
- },
- "status_field": {
- "type": "string"
- }
- },
- "required": [
- "poll_tool",
- "result_tool",
- "consume_tool",
- "cancel_tool",
- "list_tool",
- "status_field",
- "result_ready_field",
- "poll_after_field",
- "event_count_field",
- "last_event_field",
- "event_age_field"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "cost": {
- "enum": [
- "free",
- "active"
- ],
- "type": "string"
- },
- "error_codes": {
- "items": {
- "enum": [
- "codex_not_found",
- "codex_auth_required",
- "unexpanded_env_placeholder",
- "unsupported_tier",
- "unsupported_sandbox",
- "unsupported_isolation",
- "unsupported_detail",
- "invalid_scope",
- "invalid_base",
- "invalid_commit",
- "invalid_paths",
- "invalid_arguments",
- "invalid_workspace_root",
- "workspace_outside_roots",
- "input_too_large",
- "not_a_git_repo",
- "git_unavailable",
- "worktree_error",
- "context_too_large",
- "timeout",
- "nonzero_exit",
- "invalid_json",
- "schema_violation",
- "internal_error",
- "cli_contract_changed",
- "codex_rate_limited",
- "job_not_found",
- "job_running",
- "job_cancelled",
- "job_timeout",
- "job_failed"
- ],
- "type": "string"
- },
- "type": "array"
- },
- "key_optional_params": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "name": {
- "type": "string"
- },
- "required_params": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "returns": {
- "type": "string"
- },
- "stability": {
- "anyOf": [
- {
- "enum": [
- "stable",
- "preview",
- "experimental"
- ],
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "use_when": {
- "type": "string"
- }
- },
- "required": [
- "name",
- "cost",
- "use_when",
- "returns"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "transport": {
- "type": "string"
- },
- "version": {
- "type": "string"
- }
- },
- "required": [
- "name",
- "version",
- "transport",
- "stability",
- "active_tools",
- "free_tools",
- "tiers",
- "sandboxes",
- "scope",
- "negative_scope",
- "prerequisites",
- "deprecation_policy"
- ],
- "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": {
+ "active_tools": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "deprecation_policy": {
+ "type": "string"
+ },
+ "error_envelope_resource": {
+ "type": "string"
+ },
+ "fingerprint": {
+ "type": "string"
+ },
+ "fingerprint_covers": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "free_tools": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "name": {
+ "type": "string"
+ },
+ "negative_scope": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "ok": {
+ "const": true,
+ "type": "boolean"
+ },
+ "prerequisites": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "resource_error_carrier": {
+ "type": "string"
+ },
+ "result_meta_resource": {
+ "type": "string"
+ },
+ "sandboxes": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "schemas": {
+ "anyOf": [
+ {
+ "additionalProperties": true,
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "scope": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "stability": {
+ "type": "string"
+ },
+ "tiers": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "tool_details": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "async_lifecycle": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "activity_support": {
+ "const": "codex_events",
+ "type": "string"
+ },
+ "cancel_tool": {
+ "type": "string"
+ },
+ "consume_tool": {
+ "type": "string"
+ },
+ "event_age_field": {
+ "type": "string"
+ },
+ "event_count_field": {
+ "type": "string"
+ },
+ "last_event_field": {
+ "type": "string"
+ },
+ "lifecycle": {
+ "const": "codex_job_*",
+ "type": "string"
+ },
+ "list_tool": {
+ "type": "string"
+ },
+ "native_task_support": {
+ "const": false,
+ "type": "boolean"
+ },
+ "poll_after_field": {
+ "type": "string"
+ },
+ "poll_tool": {
+ "type": "string"
+ },
+ "progress_support": {
+ "const": "none",
+ "type": "string"
+ },
+ "result_ready_field": {
+ "type": "string"
+ },
+ "result_tool": {
+ "type": "string"
+ },
+ "status_field": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "poll_tool",
+ "result_tool",
+ "consume_tool",
+ "cancel_tool",
+ "list_tool",
+ "status_field",
+ "result_ready_field",
+ "poll_after_field",
+ "event_count_field",
+ "last_event_field",
+ "event_age_field"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "cost": {
+ "enum": [
+ "free",
+ "active"
+ ],
+ "type": "string"
+ },
+ "error_codes": {
+ "items": {
+ "enum": [
+ "codex_not_found",
+ "codex_auth_required",
+ "unexpanded_env_placeholder",
+ "unsupported_tier",
+ "unsupported_sandbox",
+ "unsupported_isolation",
+ "unsupported_detail",
+ "invalid_scope",
+ "invalid_base",
+ "invalid_commit",
+ "invalid_paths",
+ "invalid_arguments",
+ "invalid_workspace_root",
+ "workspace_outside_roots",
+ "input_too_large",
+ "not_a_git_repo",
+ "git_unavailable",
+ "worktree_error",
+ "context_too_large",
+ "resource_not_found",
+ "timeout",
+ "nonzero_exit",
+ "invalid_json",
+ "schema_violation",
+ "internal_error",
+ "cli_contract_changed",
+ "codex_rate_limited",
+ "job_not_found",
+ "job_running",
+ "job_cancelled",
+ "job_timeout",
+ "job_failed",
+ "idempotency_conflict",
+ "idempotency_result_unavailable",
+ "idempotency_in_progress"
+ ],
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "key_optional_params": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "name": {
+ "type": "string"
+ },
+ "required_params": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "returns": {
+ "type": "string"
+ },
+ "stability": {
+ "anyOf": [
+ {
+ "enum": [
+ "stable",
+ "preview",
+ "experimental"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "use_when": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "cost",
+ "use_when",
+ "returns"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "tool_error_carrier": {
+ "type": "string"
+ },
+ "transport": {
+ "type": "string"
+ },
+ "version": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "version",
+ "transport",
+ "stability",
+ "active_tools",
+ "free_tools",
+ "tiers",
+ "sandboxes",
+ "scope",
+ "negative_scope",
+ "prerequisites",
+ "deprecation_policy"
+ ],
+ "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"
+ }
+]