{ "$schema": "http://json-schema.org/draft-07/schema#", "definitions": { "AbsolutePathBuf": { "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" } ] }, "CapabilityRootLocation": { "oneOf": [ { "properties": { "environmentId": { "type": "string" }, "path": { "type": "string" }, "type": { "enum": [ "environment" ], "type": "string" } }, "required": [ "environmentId", "path", "type" ], "type": "object" } ] }, "DynamicToolNamespaceTool": { "oneOf": [ { "properties": { "deferLoading": { "type": "boolean" }, "inputSchema": true, "name": { "type": "string" }, "type": { "enum": [ "function" ], "type": "string" } }, "required": [ "description", "inputSchema", "name", "type" ], "type": "object" } ] }, "DynamicToolSpec": { "oneOf": [ { "properties": { "deferLoading": { "type": "boolean" }, "inputSchema": true, "name": { "type": "string" }, "type": { "enum": [ "function" ], "type": "string" } }, "required": [ "description", "inputSchema", "name", "type" ], "type": "object" }, { "properties": { "name": { "type": "string" }, "tools": { "items": { "$ref": "#/definitions/DynamicToolNamespaceTool" }, "type": "array" }, "type": { "enum": [ "namespace" ], "type": "string" } }, "required": [ "description", "name", "tools", "type" ], "type": "object" } ] }, "LegacyAppPathString": { "type": "string" }, "MultiAgentMode": { "oneOf": [ { "enum": [ "explicitRequestOnly", "proactive" ], "type": "string" }, { "additionalProperties": false, "properties": { "custom": { "type": "string" } }, "required": [ "custom" ], "type": "object" } ] }, "Personality": { "enum": [ "none", "friendly", "pragmatic" ], "type": "string" }, "SandboxMode": { "enum": [ "read-only", "workspace-write", "danger-full-access" ], "type": "string" }, "SelectedCapabilityRoot": { "properties": { "id": { "type": "string" }, "location": { "allOf": [ { "$ref": "#/definitions/CapabilityRootLocation" } ] } }, "required": [ "id", "location" ], "type": "object" }, "ThreadHistoryMode": { "enum": [ "legacy", "paginated" ], "type": "string" }, "ThreadSource": { "type": "string" }, "ThreadStartSource": { "enum": [ "startup", "clear" ], "type": "string" }, "TurnEnvironmentParams": { "properties": { "cwd": { "$ref": "#/definitions/LegacyAppPathString" }, "environmentId": { "type": "string" }, "runtimeWorkspaceRoots": { "items": { "$ref": "#/definitions/LegacyAppPathString" }, "type": [ "array", "null" ] } }, "required": [ "cwd", "environmentId" ], "type": "object" } }, "properties": { "allowProviderModelFallback": { "type": "boolean" }, "approvalPolicy": { "anyOf": [ { "$ref": "#/definitions/AskForApproval" }, { "type": "null" } ] }, "approvalsReviewer": { "anyOf": [ { "$ref": "#/definitions/ApprovalsReviewer" }, { "type": "null" } ] }, "baseInstructions": { "type": [ "string", "null" ] }, "config": { "additionalProperties": true, "type": [ "object", "null" ] }, "cwd": { "type": [ "string", "null" ] }, "daybreakEnabled": { "type": [ "boolean", "null" ] }, "developerInstructions": { "type": [ "string", "null" ] }, "dynamicTools": { "default": null, "items": { "$ref": "#/definitions/DynamicToolSpec" }, "type": [ "array", "null" ] }, "environments": { "items": { "$ref": "#/definitions/TurnEnvironmentParams" }, "type": [ "array", "null" ] }, "ephemeral": { "type": [ "boolean", "null" ] }, "experimentalRawEvents": { "type": "boolean" }, "historyMode": { "anyOf": [ { "$ref": "#/definitions/ThreadHistoryMode" }, { "type": "null" } ] }, "mockExperimentalField": { "type": [ "string", "null" ] }, "model": { "type": [ "string", "null" ] }, "modelProvider": { "type": [ "string", "null" ] }, "multiAgentMode": { "anyOf": [ { "$ref": "#/definitions/MultiAgentMode" }, { "type": "null" } ] }, "permissions": { "type": [ "string", "null" ] }, "personality": { "anyOf": [ { "$ref": "#/definitions/Personality" }, { "type": "null" } ] }, "projectId": { "type": [ "string", "null" ] }, "runtimeWorkspaceRoots": { "items": { "$ref": "#/definitions/AbsolutePathBuf" }, "type": [ "array", "null" ] }, "sandbox": { "anyOf": [ { "$ref": "#/definitions/SandboxMode" }, { "type": "null" } ] }, "selectedCapabilityRoots": { "items": { "$ref": "#/definitions/SelectedCapabilityRoot" }, "type": [ "array", "null" ] }, "serviceName": { "type": [ "string", "null" ] }, "serviceTier": { "type": [ "string", "null" ] }, "sessionStartSource": { "anyOf": [ { "$ref": "#/definitions/ThreadStartSource" }, { "type": "null" } ] }, "threadSource": { "anyOf": [ { "$ref": "#/definitions/ThreadSource" }, { "type": "null" } ] } }, "type": "object" }