{ "$schema": "http://json-schema.org/draft-07/schema#", "definitions": { "AbsolutePathBuf": { "type": "string" }, "AdditionalContextEntry": { "properties": { "kind": { "$ref": "#/definitions/AdditionalContextKind" }, "value": { "type": "string" } }, "required": [ "kind", "value" ], "type": "object" }, "AdditionalContextKind": { "enum": [ "untrusted", "application" ], "type": "string" }, "ApprovalsReviewer": { "enum": [ "user", "auto_review", "guardian_subagent" ], "type": "string" }, "AskForApproval": { "oneOf": [ { "enum": [ "untrusted", "on-request", "never" ], "type": "string" }, { "additionalProperties": false, "properties": { "granular": { "properties": { "mcp_elicitations": { "type": "boolean" }, "request_permissions": { "default": false, "type": "boolean" }, "rules": { "type": "boolean" }, "sandbox_approval": { "type": "boolean" }, "skill_approval": { "default": false, "type": "boolean" } }, "required": [ "mcp_elicitations", "rules", "sandbox_approval" ], "type": "object" } }, "required": [ "granular" ], "type": "object" } ] }, "ByteRange": { "properties": { "end": { "format": "uint", "minimum": 0.0, "type": "integer" }, "start": { "format": "uint", "minimum": 0.0, "type": "integer" } }, "required": [ "end", "start" ], "type": "object" }, "CollaborationMode": { "properties": { "mode": { "$ref": "#/definitions/ModeKind" }, "settings": { "$ref": "#/definitions/Settings" } }, "required": [ "mode", "settings" ], "type": "object" }, "CyberAccessProgram": { "enum": [ "standard", "daybreakBlue", "daybreakRed" ], "type": "string" }, "FunctionCallOutputBody": { "anyOf": [ { "type": "string" }, { "items": { "$ref": "#/definitions/FunctionCallOutputContentItem" }, "type": "array" } ] }, "FunctionCallOutputContentItem": { "oneOf": [ { "properties": { "text": { "type": "string" }, "type": { "enum": [ "input_text" ], "type": "string" } }, "required": [ "text", "type" ], "type": "object" }, { "anyOf": [ { "properties": { "image_url": { "type": "string" } }, "required": [ "image_url" ], "type": "object" }, { "properties": { "file_id": { "type": "string" } }, "required": [ "file_id" ], "type": "object" } ], "properties": { "detail": { "anyOf": [ { "$ref": "#/definitions/ImageDetail" }, { "type": "null" } ] }, "type": { "enum": [ "input_image" ], "type": "string" } }, "required": [ "type" ], "type": "object" }, { "properties": { "audio_url": { "type": "string" }, "type": { "enum": [ "input_audio" ], "type": "string" } }, "required": [ "audio_url", "type" ], "type": "object" }, { "properties": { "encrypted_content": { "type": "string" }, "type": { "enum": [ "encrypted_content" ], "type": "string" } }, "required": [ "encrypted_content", "type" ], "type": "object" } ] }, "ImageDetail": { "enum": [ "auto", "low", "high", "original" ], "type": "string" }, "LegacyAppPathString": { "type": "string" }, "ModeKind": { "enum": [ "plan", "default" ], "type": "string" }, "MultiAgentMode": { "oneOf": [ { "enum": [ "explicitRequestOnly", "proactive" ], "type": "string" }, { "additionalProperties": false, "properties": { "custom": { "type": "string" } }, "required": [ "custom" ], "type": "object" } ] }, "NetworkAccess": { "enum": [ "restricted", "enabled" ], "type": "string" }, "Personality": { "enum": [ "none", "friendly", "pragmatic" ], "type": "string" }, "ReasoningEffort": { "minLength": 1, "type": "string" }, "ReasoningSummary": { "oneOf": [ { "enum": [ "auto", "concise", "detailed" ], "type": "string" }, { "enum": [ "none" ], "type": "string" } ] }, "SandboxPolicy": { "oneOf": [ { "properties": { "type": { "enum": [ "dangerFullAccess" ], "type": "string" } }, "required": [ "type" ], "type": "object" }, { "properties": { "networkAccess": { "default": false, "type": "boolean" }, "type": { "enum": [ "readOnly" ], "type": "string" } }, "required": [ "type" ], "type": "object" }, { "properties": { "networkAccess": { "allOf": [ { "$ref": "#/definitions/NetworkAccess" } ], "default": "restricted" }, "type": { "enum": [ "externalSandbox" ], "type": "string" } }, "required": [ "type" ], "type": "object" }, { "properties": { "excludeSlashTmp": { "default": false, "type": "boolean" }, "excludeTmpdirEnvVar": { "default": false, "type": "boolean" }, "networkAccess": { "default": false, "type": "boolean" }, "type": { "enum": [ "workspaceWrite" ], "type": "string" }, "writableRoots": { "default": [], "items": { "$ref": "#/definitions/AbsolutePathBuf" }, "type": "array" } }, "required": [ "type" ], "type": "object" } ] }, "Settings": { "properties": { "developer_instructions": { "type": [ "string", "null" ] }, "model": { "type": "string" }, "reasoning_effort": { "anyOf": [ { "$ref": "#/definitions/ReasoningEffort" }, { "type": "null" } ] } }, "required": [ "model" ], "type": "object" }, "TextElement": { "properties": { "byteRange": { "allOf": [ { "$ref": "#/definitions/ByteRange" } ] }, "placeholder": { "type": [ "string", "null" ] } }, "required": [ "byteRange" ], "type": "object" }, "TurnEnvironmentParams": { "properties": { "cwd": { "$ref": "#/definitions/LegacyAppPathString" }, "environmentId": { "type": "string" }, "runtimeWorkspaceRoots": { "items": { "$ref": "#/definitions/LegacyAppPathString" }, "type": [ "array", "null" ] } }, "required": [ "cwd", "environmentId" ], "type": "object" }, "TurnToolOutput": { "properties": { "name": { "type": "string" }, "namespace": { "type": [ "string", "null" ] }, "output": { "$ref": "#/definitions/FunctionCallOutputBody" }, "retain": { "type": "boolean" } }, "required": [ "name", "output" ], "type": "object" }, "UserInput": { "oneOf": [ { "properties": { "text": { "type": "string" }, "text_elements": { "default": [], "items": { "$ref": "#/definitions/TextElement" }, "type": "array" }, "type": { "enum": [ "text" ], "type": "string" } }, "required": [ "text", "type" ], "type": "object" }, { "anyOf": [ { "properties": { "url": { "type": "string" } }, "required": [ "url" ], "type": "object" }, { "properties": { "fileId": { "type": "string" } }, "required": [ "fileId" ], "type": "object" } ], "properties": { "detail": { "anyOf": [ { "$ref": "#/definitions/ImageDetail" }, { "type": "null" } ], "default": null }, "type": { "enum": [ "image" ], "type": "string" } }, "required": [ "type" ], "type": "object" }, { "properties": { "detail": { "anyOf": [ { "$ref": "#/definitions/ImageDetail" }, { "type": "null" } ], "default": null }, "path": { "type": "string" }, "type": { "enum": [ "localImage" ], "type": "string" } }, "required": [ "path", "type" ], "type": "object" }, { "properties": { "type": { "enum": [ "audio" ], "type": "string" }, "url": { "type": "string" } }, "required": [ "type", "url" ], "type": "object" }, { "properties": { "path": { "type": "string" }, "type": { "enum": [ "localAudio" ], "type": "string" } }, "required": [ "path", "type" ], "type": "object" }, { "properties": { "name": { "type": "string" }, "path": { "type": "string" }, "type": { "enum": [ "skill" ], "type": "string" } }, "required": [ "name", "path", "type" ], "type": "object" }, { "properties": { "name": { "type": "string" }, "path": { "type": "string" }, "type": { "enum": [ "mention" ], "type": "string" } }, "required": [ "name", "path", "type" ], "type": "object" } ] } }, "properties": { "additionalContext": { "additionalProperties": { "$ref": "#/definitions/AdditionalContextEntry" }, "type": [ "object", "null" ] }, "approvalPolicy": { "anyOf": [ { "$ref": "#/definitions/AskForApproval" }, { "type": "null" } ] }, "approvalsReviewer": { "anyOf": [ { "$ref": "#/definitions/ApprovalsReviewer" }, { "type": "null" } ] }, "clientUserMessageId": { "type": [ "string", "null" ] }, "collaborationMode": { "anyOf": [ { "$ref": "#/definitions/CollaborationMode" }, { "type": "null" } ] }, "cwd": { "type": [ "string", "null" ] }, "cyberAccessProgram": { "anyOf": [ { "$ref": "#/definitions/CyberAccessProgram" }, { "type": "null" } ] }, "disabledPluginIds": { "items": { "type": "string" }, "type": [ "array", "null" ] }, "effort": { "anyOf": [ { "$ref": "#/definitions/ReasoningEffort" }, { "type": "null" } ] }, "environments": { "items": { "$ref": "#/definitions/TurnEnvironmentParams" }, "type": [ "array", "null" ] }, "input": { "items": { "$ref": "#/definitions/UserInput" }, "type": "array" }, "model": { "type": [ "string", "null" ] }, "multiAgentMode": { "anyOf": [ { "$ref": "#/definitions/MultiAgentMode" }, { "type": "null" } ] }, "outputSchema": {}, "parentTurnId": { "type": [ "string", "null" ] }, "permissions": { "type": [ "string", "null" ] }, "personality": { "anyOf": [ { "$ref": "#/definitions/Personality" }, { "type": "null" } ] }, "responsesapiClientMetadata": { "additionalProperties": { "type": "string" }, "type": [ "object", "null" ] }, "responsesapiClientMetadataPatch": { "additionalProperties": { "type": "string" }, "type": [ "object", "null" ] }, "rootTurnId": { "type": [ "string", "null" ] }, "runtimeWorkspaceRoots": { "items": { "$ref": "#/definitions/AbsolutePathBuf" }, "type": [ "array", "null" ] }, "sandboxPolicy": { "anyOf": [ { "$ref": "#/definitions/SandboxPolicy" }, { "type": "null" } ] }, "serviceTier": { "type": [ "string", "null" ] }, "serviceTierForTurn": { "type": [ "string", "null" ] }, "summary": { "anyOf": [ { "$ref": "#/definitions/ReasoningSummary" }, { "type": "null" } ] }, "threadId": { "type": "string" }, "toolOutput": { "anyOf": [ { "$ref": "#/definitions/TurnToolOutput" }, { "type": "null" } ] }, "turnTrigger": { "type": [ "string", "null" ] } }, "required": [ "input", "threadId" ], "type": "object" }