changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$defs": {
+ "AgentConfigID": {
+ "description": "Agent config ID (acfg_...).",
+ "pattern": "^acfg_[a-z2-7]{26}$",
+ "type": "string"
+ },
+ "AgentConfigModel": {
+ "properties": {
+ "api_format": {
+ "$ref": "#/$defs/ModelAPIFormat"
+ },
+ "api_variant": {
+ "$ref": "#/$defs/ModelProviderAPIVariantResponse"
+ },
+ "configured_model_id": {
+ "$ref": "#/$defs/ConfiguredModelID"
+ },
+ "context_window_tokens": {
+ "description": "Effective context budget for input and output tokens after model, project, and agent settings are applied. Triggers compaction when estimated input exceeds the remaining budget after output and safety reserves. The turn fails if compaction cannot make it fit.",
+ "type": "integer"
+ },
+ "current_revision_id": {
+ "$ref": "#/$defs/ConfiguredModelRevisionID"
+ },
+ "default_cache_retention": {
+ "$ref": "#/$defs/ModelCacheRetention"
+ },
+ "default_max_output_tokens": {
+ "description": "Effective per-request output-token cap sent to the provider.",
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "default_reasoning_effort": {
+ "type": "string"
+ },
+ "input_modalities": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "max_output_tokens": {
+ "description": "Effective known output-token ceiling after model and project settings, or null when unknown.",
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "name": {
+ "$ref": "#/$defs/ResourceName",
+ "description": "Configured model name selected by this agent config, rendered from the current configured model record."
+ },
+ "output_modalities": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "provider_config": {
+ "$ref": "#/$defs/ResourceName"
+ },
+ "provider_model_slug": {
+ "description": "Exact provider model slug on the configured model's current revision at response time.",
+ "type": "string"
+ },
+ "supported_reasoning_efforts": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "supports_reasoning": {
+ "type": "boolean"
+ },
+ "supports_tools": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "provider_config",
+ "name",
+ "provider_model_slug",
+ "configured_model_id",
+ "current_revision_id",
+ "api_format",
+ "api_variant",
+ "context_window_tokens",
+ "max_output_tokens",
+ "default_cache_retention",
+ "supports_tools",
+ "supports_reasoning",
+ "default_reasoning_effort",
+ "supported_reasoning_efforts",
+ "input_modalities",
+ "output_modalities"
+ ],
+ "type": "object"
+ },
+ "AgentProfileID": {
+ "pattern": "^aprf_[a-z2-7]{26}$",
+ "type": "string"
+ },
+ "CompiledAgentConfig": {
+ "description": "Read-only saved compiled configuration, including default tools and derived subagent overrides.",
+ "properties": {
+ "git_credentials": {
+ "$ref": "#/$defs/CompiledGitCredentials"
+ },
+ "instruction": {
+ "type": "string"
+ },
+ "interaction_handlers": {
+ "additionalProperties": {
+ "$ref": "#/$defs/CompiledIntegrationCapability"
+ },
+ "type": "object"
+ },
+ "machine_sources": {
+ "items": {
+ "$ref": "#/$defs/CompiledMachineSource"
+ },
+ "type": "array"
+ },
+ "max_depth": {
+ "type": "integer"
+ },
+ "max_subagents": {
+ "type": "integer"
+ },
+ "mcp": {
+ "additionalProperties": {
+ "$ref": "#/$defs/CompiledMCPServer"
+ },
+ "type": "object"
+ },
+ "memory_stores": {
+ "items": {
+ "$ref": "#/$defs/CompiledMemoryStore"
+ },
+ "type": "array"
+ },
+ "model": {
+ "$ref": "#/$defs/CompiledAgentModel"
+ },
+ "skills": {
+ "items": {
+ "$ref": "#/$defs/CompiledSkill"
+ },
+ "type": "array"
+ },
+ "subagents": {
+ "additionalProperties": {
+ "$ref": "#/$defs/CompiledSubagent"
+ },
+ "type": "object"
+ },
+ "tools": {
+ "additionalProperties": {
+ "$ref": "#/$defs/CompiledTool"
+ },
+ "type": "object"
+ },
+ "version": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "instruction",
+ "model"
+ ],
+ "type": "object"
+ },
+ "CompiledAgentModel": {
+ "properties": {
+ "cache_retention": {
+ "$ref": "#/$defs/ModelCacheRetention"
+ },
+ "configured_model_id": {
+ "$ref": "#/$defs/ConfiguredModelID"
+ },
+ "context_window_tokens": {
+ "type": "integer"
+ },
+ "default_max_output_tokens": {
+ "type": "integer"
+ },
+ "reasoning": {
+ "$ref": "#/$defs/CompiledModelReasoning"
+ }
+ },
+ "required": [
+ "configured_model_id"
+ ],
+ "type": "object"
+ },
+ "CompiledGitCredentials": {
+ "description": "Pinned GitHub integration supplying machine Git credentials, optionally limited to repositories and read-only access.",
+ "properties": {
+ "integration": {
+ "$ref": "#/$defs/IntegrationName"
+ },
+ "integration_id": {
+ "$ref": "#/$defs/IntegrationID"
+ },
+ "read_only": {
+ "type": "boolean"
+ },
+ "repository_ids": {
+ "items": {
+ "format": "int64",
+ "type": "integer"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "integration",
+ "integration_id"
+ ],
+ "type": "object"
+ },
+ "CompiledIntegrationCapability": {
+ "properties": {
+ "integration_id": {
+ "$ref": "#/$defs/IntegrationID"
+ }
+ },
+ "required": [
+ "integration_id"
+ ],
+ "type": "object"
+ },
+ "CompiledMCPAuth": {
+ "discriminator": {
+ "mapping": {
+ "bearer": "#/$defs/CompiledMCPAuthBearer",
+ "oauth": "#/$defs/CompiledMCPAuthOAuth",
+ "sigv4": "#/$defs/CompiledMCPAuthSigV4"
+ },
+ "propertyName": "type"
+ },
+ "oneOf": [
+ {
+ "$ref": "#/$defs/CompiledMCPAuthBearer"
+ },
+ {
+ "$ref": "#/$defs/CompiledMCPAuthOAuth"
+ },
+ {
+ "$ref": "#/$defs/CompiledMCPAuthSigV4"
+ }
+ ]
+ },
+ "CompiledMCPAuthBearer": {
+ "properties": {
+ "secret_id": {
+ "$ref": "#/$defs/SecretID"
+ },
+ "type": {
+ "enum": [
+ "bearer"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "secret_id"
+ ],
+ "type": "object"
+ },
+ "CompiledMCPAuthOAuth": {
+ "properties": {
+ "secret_id": {
+ "$ref": "#/$defs/SecretID"
+ },
+ "type": {
+ "enum": [
+ "oauth"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "secret_id"
+ ],
+ "type": "object"
+ },
+ "CompiledMCPAuthSigV4": {
+ "properties": {
+ "region": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "secret_id": {
+ "$ref": "#/$defs/SecretID"
+ },
+ "service": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "type": {
+ "enum": [
+ "sigv4"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "secret_id",
+ "service",
+ "region"
+ ],
+ "type": "object"
+ },
+ "CompiledMCPServer": {
+ "properties": {
+ "auth": {
+ "$ref": "#/$defs/CompiledMCPAuth"
+ },
+ "default_enabled": {
+ "type": "boolean"
+ },
+ "deferred": {
+ "type": "boolean"
+ },
+ "permission": {
+ "$ref": "#/$defs/ToolPermissionSelection"
+ },
+ "tools": {
+ "additionalProperties": {
+ "$ref": "#/$defs/CompiledMCPTool"
+ },
+ "type": "object"
+ },
+ "url": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "url",
+ "default_enabled",
+ "permission"
+ ],
+ "type": "object"
+ },
+ "CompiledMCPTool": {
+ "properties": {
+ "deferred": {
+ "type": "boolean"
+ },
+ "enabled": {
+ "type": "boolean"
+ },
+ "permission": {
+ "$ref": "#/$defs/ToolPermissionSelection"
+ }
+ },
+ "type": "object"
+ },
+ "CompiledMachineSource": {
+ "properties": {
+ "cwd": {
+ "type": "string"
+ },
+ "delete_after_idle_minutes": {
+ "type": "integer"
+ },
+ "description": {
+ "type": "string"
+ },
+ "env_overlay": {
+ "additionalProperties": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "type": "object"
+ },
+ "initial_num_machines": {
+ "type": "integer"
+ },
+ "machine_cpu": {
+ "type": "integer"
+ },
+ "machine_id": {
+ "$ref": "#/$defs/MachineID"
+ },
+ "machine_memory_mb": {
+ "type": "integer"
+ },
+ "machine_pool_id": {
+ "$ref": "#/$defs/MachinePoolID"
+ },
+ "machine_provider_options_overlay": {
+ "additionalProperties": true,
+ "type": "object"
+ },
+ "max_machines": {
+ "type": "integer"
+ },
+ "secret_env_overlay": {
+ "additionalProperties": {
+ "oneOf": [
+ {
+ "$ref": "#/$defs/SecretID"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "CompiledMemoryStore": {
+ "properties": {
+ "access": {
+ "$ref": "#/$defs/MemoryStoreAccess"
+ },
+ "id": {
+ "$ref": "#/$defs/MemoryStoreID"
+ }
+ },
+ "required": [
+ "id",
+ "access"
+ ],
+ "type": "object"
+ },
+ "CompiledModelReasoning": {
+ "properties": {
+ "effort": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "effort"
+ ],
+ "type": "object"
+ },
+ "CompiledProfileSubagent": {
+ "properties": {
+ "archive_after_idle_minutes": {
+ "type": "integer"
+ },
+ "description": {
+ "type": "string"
+ },
+ "instruction_append": {
+ "type": "string"
+ },
+ "max_instances": {
+ "type": "integer"
+ },
+ "model": {
+ "$ref": "#/$defs/CompiledSubagentModel"
+ },
+ "profile_id": {
+ "$ref": "#/$defs/AgentProfileID"
+ },
+ "type": {
+ "enum": [
+ "profile"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "profile_id"
+ ],
+ "type": "object"
+ },
+ "CompiledSelfSubagent": {
+ "properties": {
+ "archive_after_idle_minutes": {
+ "type": "integer"
+ },
+ "description": {
+ "type": "string"
+ },
+ "instruction_append": {
+ "type": "string"
+ },
+ "max_instances": {
+ "type": "integer"
+ },
+ "model": {
+ "$ref": "#/$defs/CompiledSubagentModel"
+ },
+ "type": {
+ "enum": [
+ "self"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "type"
+ ],
+ "type": "object"
+ },
+ "CompiledSkill": {
+ "properties": {
+ "id": {
+ "$ref": "#/$defs/SkillID"
+ }
+ },
+ "required": [
+ "id"
+ ],
+ "type": "object"
+ },
+ "CompiledSubagent": {
+ "discriminator": {
+ "mapping": {
+ "profile": "#/$defs/CompiledProfileSubagent",
+ "self": "#/$defs/CompiledSelfSubagent"
+ },
+ "propertyName": "type"
+ },
+ "oneOf": [
+ {
+ "$ref": "#/$defs/CompiledSelfSubagent"
+ },
+ {
+ "$ref": "#/$defs/CompiledProfileSubagent"
+ }
+ ]
+ },
+ "CompiledSubagentModel": {
+ "properties": {
+ "cache_retention": {
+ "$ref": "#/$defs/ModelCacheRetention"
+ },
+ "configured_model_id": {
+ "$ref": "#/$defs/ConfiguredModelID"
+ },
+ "context_window_tokens": {
+ "type": "integer"
+ },
+ "default_max_output_tokens": {
+ "type": "integer"
+ },
+ "reasoning": {
+ "$ref": "#/$defs/CompiledModelReasoning"
+ }
+ },
+ "type": "object"
+ },
+ "CompiledTool": {
+ "properties": {
+ "deferred": {
+ "type": "boolean"
+ },
+ "description": {
+ "type": "string"
+ },
+ "enabled": {
+ "type": "boolean"
+ },
+ "input_schema": {
+ "additionalProperties": true,
+ "type": "object"
+ },
+ "integration_id": {
+ "$ref": "#/$defs/IntegrationID"
+ },
+ "permission": {
+ "$ref": "#/$defs/ToolPermissionSelection"
+ },
+ "type": {
+ "enum": [
+ "built_in",
+ "custom"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "enabled",
+ "permission"
+ ],
+ "type": "object"
+ },
+ "ConfiguredModelID": {
+ "pattern": "^mdl_[a-z2-7]{26}$",
+ "type": "string"
+ },
+ "ConfiguredModelRevisionID": {
+ "pattern": "^mrev_[a-z2-7]{26}$",
+ "type": "string"
+ },
+ "IntegrationID": {
+ "pattern": "^itg_[a-z2-7]{26}$",
+ "type": "string"
+ },
+ "IntegrationName": {
+ "description": "Immutable, project-unique integration name used in config keys and qualified tool names.",
+ "pattern": "^[a-zA-Z][a-zA-Z0-9-]{0,31}$",
+ "type": "string"
+ },
+ "MachineID": {
+ "description": "Machine ID (mch_...).",
+ "pattern": "^mch_[a-z2-7]{26}$",
+ "type": "string"
+ },
+ "MachinePoolID": {
+ "description": "Machine pool ID (mpo_...).",
+ "pattern": "^mpo_[a-z2-7]{26}$",
+ "type": "string"
+ },
+ "MemoryStoreAccess": {
+ "enum": [
+ "read",
+ "read_write"
+ ],
+ "type": "string"
+ },
+ "MemoryStoreID": {
+ "pattern": "^mst_[a-z2-7]{26}$",
+ "type": "string"
+ },
+ "ModelAPIFormat": {
+ "description": "Wire protocol the model endpoint speaks.",
+ "enum": [
+ "openai-responses",
+ "openai-chat-completions",
+ "anthropic-messages"
+ ],
+ "type": "string"
+ },
+ "ModelCacheRetention": {
+ "description": "Prompt-cache preference for model requests; `short` when omitted. `short` applies the route's default caching (explicit cache breakpoints where the provider requires them) and, where the route accepts one, a stable conversation key for cache-aware routing. `long` prefers the route's extended cache lifetime where one exists (currently Anthropic's one-hour cache, which on Bedrock requires Claude 4.5 or newer) and behaves like `short` elsewhere. `none` sends no Omnara-managed cache controls or conversation key; providers may still cache prefixes on their own.",
+ "enum": [
+ "none",
+ "short",
+ "long"
+ ],
+ "type": "string"
+ },
+ "ModelProviderAPIVariantResponse": {
+ "type": "string"
+ },
+ "OrganizationID": {
+ "pattern": "^org_[a-z2-7]{26}$",
+ "type": "string"
+ },
+ "ProjectID": {
+ "description": "Project ID (proj_...).",
+ "pattern": "^proj_[a-z2-7]{26}$",
+ "type": "string"
+ },
+ "ResourceName": {
+ "description": "Human-readable name. Spaces and punctuation are allowed; leading or trailing whitespace and invisible or control characters are not.",
+ "maxLength": 64,
+ "minLength": 1,
+ "type": "string"
+ },
+ "SecretID": {
+ "description": "Secret ID (sec_...).",
+ "pattern": "^sec_[a-z2-7]{26}$",
+ "type": "string"
+ },
+ "SkillID": {
+ "pattern": "^skl_[a-z2-7]{26}$",
+ "type": "string"
+ },
+ "Timestamp": {
+ "format": "date-time",
+ "type": "string"
+ },
+ "ToolPermissionSelection": {
+ "properties": {
+ "mode": {
+ "description": "Permission mode applied by default.",
+ "type": "string"
+ },
+ "parameters": {
+ "additionalProperties": true,
+ "description": "Parameters for the default mode.",
+ "type": "object"
+ }
+ },
+ "required": [
+ "mode",
+ "parameters"
+ ],
+ "type": "object"
+ }
+ },
+ "properties": {
+ "compiled_definition": {
+ "$ref": "#/$defs/CompiledAgentConfig"
+ },
+ "created_at": {
+ "$ref": "#/$defs/Timestamp"
+ },
+ "effective_definition_hash": {
+ "type": "string"
+ },
+ "id": {
+ "$ref": "#/$defs/AgentConfigID"
+ },
+ "instruction_hash": {
+ "type": "string"
+ },
+ "model": {
+ "$ref": "#/$defs/AgentConfigModel"
+ },
+ "org_id": {
+ "$ref": "#/$defs/OrganizationID"
+ },
+ "project_id": {
+ "$ref": "#/$defs/ProjectID"
+ },
+ "source": {
+ "description": "Saved source text, exactly as sent.",
+ "type": "string"
+ },
+ "source_format": {
+ "enum": [
+ "yaml",
+ "json"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "org_id",
+ "project_id",
+ "effective_definition_hash",
+ "model",
+ "created_at",
+ "compiled_definition"
+ ],
+ "type": "object"
+}