addedInput schema / $defs / AgentConfigDefinition / properties / git_credentials / description
Added value: +"GitHub integration whose credentials the agent's machine processes use for Git and gh. Not passed to subagents."
addedInput schema / $defs / AgentConfigDefinition / properties / instruction / description
Added value: +"System prompt: the agent's job, boundaries, and when to ask a human."
addedInput schema / $defs / AgentConfigDefinition / properties / interaction_handlers / description
Added value: +"Integrations that show the agent's questions and approvals outside the dashboard, keyed by integration name. Not passed to subagents."
addedInput schema / $defs / AgentConfigDefinition / properties / machine_sources / description
Added value: +"BYO machines and machine pools the agent can run commands on."
addedInput schema / $defs / AgentConfigDefinition / properties / max_depth / description
Added value: +"Maximum subagent nesting depth. Defaults to 1, so subagents cannot spawn their own."
addedInput schema / $defs / AgentConfigDefinition / properties / max_subagents / description
Added value: +"Maximum active subagents across all keys. Unset means no overall limit."
addedInput schema / $defs / AgentConfigDefinition / properties / mcp / description
Added value: +"MCP servers the agent can use, keyed by server name. Their tools are named mcp__{server}__{tool}."
addedInput schema / $defs / AgentConfigDefinition / properties / memory_stores / description
Added value: +"Project memory stores the agent can access at /memory/{name}/."
addedInput schema / $defs / AgentConfigDefinition / properties / model / description
Added value: +"Model the agent runs on, with optional overrides of its defaults."
addedInput schema / $defs / AgentConfigDefinition / properties / skills / description
Added value: +"Skills the agent can load. The project must own or be granted each one."
addedInput schema / $defs / AgentConfigDefinition / properties / subagents / description
Added value: +"Subagents the agent can spawn, keyed by name."
addedInput schema / $defs / AgentConfigDefinition / properties / tools / description
Added value: +"Built-in and custom tools, keyed by tool name. {} enables a tool with its defaults."
addedInput schema / $defs / AgentConfigDefinition / properties / version / description
Added value: +"Config format version. Optional; set it to pin the format."
removedInput schema / $defs / AgentConfigDefinition / x-go-type
Removed value: -"json.RawMessage"
addedInput schema / $defs / AgentConfigDefinitionGitCredentials / properties / integration / description
Added value: +"Name of a GitHub integration in the project."
removedInput schema / $defs / AgentConfigDefinitionGitCredentials / x-go-type
Removed value: -"json.RawMessage"
removedInput schema / $defs / AgentConfigDefinitionInteractionHandler / x-go-type
Removed value: -"agentconfig.AgentConfigIntegrationCapabilitySource"
removedInput schema / $defs / AgentConfigDefinitionInteractionHandler / x-go-type-import
Removed value: -{
- "path": "github.com/omnara-ai/omnara/internal/agentconfig"
-}
removedInput schema / $defs / AgentConfigDefinitionInteractionHandlers / x-go-type
Removed value: -"json.RawMessage"
addedInput schema / $defs / AgentConfigDefinitionMCPAuth / properties / region / description
Added value: +"AWS region to sign for. Required for sigv4 only."
addedInput schema / $defs / AgentConfigDefinitionMCPAuth / properties / secret_id / description
Added value: +"Secret holding the credential: generic for bearer, oauth_token_set for oauth, aws_credentials for sigv4."
addedInput schema / $defs / AgentConfigDefinitionMCPAuth / properties / service / description
Added value: +"AWS service to sign for, such as aws-mcp. Required for sigv4 only."
addedInput schema / $defs / AgentConfigDefinitionMCPAuth / properties / type / description
Added value: +"bearer sends a static token, oauth uses tokens from Omnara's MCP OAuth flow, and sigv4 signs requests with AWS SigV4."
removedInput schema / $defs / AgentConfigDefinitionMCPAuth / x-go-type
Removed value: -"json.RawMessage"
addedInput schema / $defs / AgentConfigDefinitionMCPServer / properties / auth / description
Added value: +"How to authenticate to the server. Omit if it needs none."
addedInput schema / $defs / AgentConfigDefinitionMCPServer / properties / default_enabled / description
Added value: +"Whether tools are enabled unless overridden in tools. Defaults to true."
addedInput schema / $defs / AgentConfigDefinitionMCPServer / properties / deferred / description
Added value: +"Keep the server's tools out of context until tool_search loads them. Defaults to false."
addedInput schema / $defs / AgentConfigDefinitionMCPServer / properties / permission / description
Added value: +"Default permission for the server's tools. Defaults to always_ask."
addedInput schema / $defs / AgentConfigDefinitionMCPServer / properties / tools / description
Added value: +"Per-tool overrides, keyed by the tool's name on the server."
addedInput schema / $defs / AgentConfigDefinitionMCPServer / properties / url / description
Added value: +"HTTPS URL of the server's MCP endpoint."
removedInput schema / $defs / AgentConfigDefinitionMCPServer / x-go-type
Removed value: -"json.RawMessage"
removedInput schema / $defs / AgentConfigDefinitionMCPServers / x-go-type
Removed value: -"json.RawMessage"
addedInput schema / $defs / AgentConfigDefinitionMCPTool / properties / deferred / description
Added value: +"Overrides the server's deferred setting. Null inherits it."
addedInput schema / $defs / AgentConfigDefinitionMCPTool / properties / enabled / description
Added value: +"Enables or hides the tool. Null follows the server's default_enabled."
addedInput schema / $defs / AgentConfigDefinitionMCPTool / properties / permission / description
Added value: +"Overrides the server's permission for this tool."
removedInput schema / $defs / AgentConfigDefinitionMCPTool / x-go-type
Removed value: -"json.RawMessage"
addedInput schema / $defs / AgentConfigDefinitionMachineSource / properties / cwd / description
Added value: +"Working directory for the agent's processes. Overrides the machine or pool default."
addedInput schema / $defs / AgentConfigDefinitionMachineSource / properties / delete_after_idle_minutes / description
Added value: +"Pools only. Delete a machine after this many idle minutes; 0 disables. Unset inherits the grant or pool setting."
addedInput schema / $defs / AgentConfigDefinitionMachineSource / properties / description / description
Added value: +"Describes this source to the agent."
addedInput schema / $defs / AgentConfigDefinitionMachineSource / properties / env_overlay / description
Added value: +"Environment variables for the agent's processes. A null value removes an inherited variable."
addedInput schema / $defs / AgentConfigDefinitionMachineSource / properties / initial_num_machines / description
Added value: +"Pools only. Machines to create at launch. Defaults to 1 and cannot exceed max_machines."
addedInput schema / $defs / AgentConfigDefinitionMachineSource / properties / machine_cpu / description
Added value: +"Pools only. vCPUs for new machines, within pool and project limits."
addedInput schema / $defs / AgentConfigDefinitionMachineSource / properties / machine_memory_mb / description
Added value: +"Pools only. Memory in MB for new machines, within pool and project limits."
addedInput schema / $defs / AgentConfigDefinitionMachineSource / properties / machine_name / description
Added value: +"Name of a BYO machine granted to the project. Set this or machine_pool_name."
addedInput schema / $defs / AgentConfigDefinitionMachineSource / properties / machine_pool_name / description
Added value: +"Name of a machine pool granted to the project. Set this or machine_name."
addedInput schema / $defs / AgentConfigDefinitionMachineSource / properties / machine_provider_options_overlay / description
Added value: +"Pools only. Provider options applied over the pool and grant options."
addedInput schema / $defs / AgentConfigDefinitionMachineSource / properties / max_machines / description
Added value: +"Pools only. Most machines the agent can hold from this pool. Defaults to 1."
addedInput schema / $defs / AgentConfigDefinitionMachineSource / properties / secret_env_overlay / description
Added value: +"Environment variables set from secrets, keyed by variable name. A null value removes an inherited variable."
removedInput schema / $defs / AgentConfigDefinitionMachineSource / x-go-type
Removed value: -"json.RawMessage"
removedInput schema / $defs / AgentConfigDefinitionMachineSources / x-go-type
Removed value: -"json.RawMessage"
addedInput schema / $defs / AgentConfigDefinitionMemoryStore / properties / access / description
Added value: +"read, or read_write if the store also allows agent writes."
addedInput schema / $defs / AgentConfigDefinitionMemoryStore / properties / name / description
Added value: +"Name of a memory store in the project."
removedInput schema / $defs / AgentConfigDefinitionMemoryStore / x-go-type
Removed value: -"json.RawMessage"
removedInput schema / $defs / AgentConfigDefinitionMemoryStores / x-go-type
Removed value: -"json.RawMessage"
addedInput schema / $defs / AgentConfigDefinitionModel / properties / cache_retention / description
Added value: +"Prompt caching: none, short (provider default), or long (extended where available). Unset uses the model's default."
addedInput schema / $defs / AgentConfigDefinitionModel / properties / default_max_output_tokens / description
Added value: +"Default output allowance per request. Overrides the model's default; max_output_tokens is the cap."
addedInput schema / $defs / AgentConfigDefinitionModel / properties / name / description
Added value: +"Configured model name under provider_config."
addedInput schema / $defs / AgentConfigDefinitionModel / properties / provider_config / description
Added value: +"Name of the organization's model provider."
addedInput schema / $defs / AgentConfigDefinitionModel / properties / reasoning / description
Added value: +"Reasoning effort, such as low, medium, or high, for models that support it."
addedInput schema / $defs / AgentConfigDefinitionModel / properties / reasoning / properties / effort / description
Added value: +"Reasoning effort, such as low, medium, or high."
removedInput schema / $defs / AgentConfigDefinitionModel / x-go-type
Removed value: -"json.RawMessage"
removedInput schema / $defs / AgentConfigDefinitionSkills / x-go-type
Removed value: -"json.RawMessage"
addedInput schema / $defs / AgentConfigDefinitionSubagent / if / properties / type / description
Added value: +"Applies when type is profile."
addedInput schema / $defs / AgentConfigDefinitionSubagent / properties / archive_after_idle_minutes / description
Added value: +"Archive these subagents after this many idle minutes. Unset never archives them for being idle."
addedInput schema / $defs / AgentConfigDefinitionSubagent / properties / description / description
Added value: +"Tells the model when to spawn this subagent."
addedInput schema / $defs / AgentConfigDefinitionSubagent / properties / instruction / description
Added value: +"Changes to the subagent's instruction."
addedInput schema / $defs / AgentConfigDefinitionSubagent / properties / max_instances / description
Added value: +"Maximum active subagents from this key. Unset means no per-key limit."
addedInput schema / $defs / AgentConfigDefinitionSubagent / properties / model / description
Added value: +"Model overrides. Omit provider_config and name to keep the base model."
addedInput schema / $defs / AgentConfigDefinitionSubagent / properties / profile / description
Added value: +"Agent profile to launch from. Required when type is profile."
addedInput schema / $defs / AgentConfigDefinitionSubagent / properties / type / description
Added value: +"profile launches from a profile's current config; self copies this agent's config."
removedInput schema / $defs / AgentConfigDefinitionSubagent / x-go-type
Removed value: -"json.RawMessage"
addedInput schema / $defs / AgentConfigDefinitionSubagentInstruction / properties / append / description
Added value: +"Text appended to the base instruction."
removedInput schema / $defs / AgentConfigDefinitionSubagentInstruction / x-go-type
Removed value: -"json.RawMessage"
addedInput schema / $defs / AgentConfigDefinitionSubagentModel / properties / cache_retention / description
Added value: +"Overrides the base model's prompt caching."
addedInput schema / $defs / AgentConfigDefinitionSubagentModel / properties / default_max_output_tokens / description
Added value: +"Overrides the base model's default output allowance."
addedInput schema / $defs / AgentConfigDefinitionSubagentModel / properties / name / description
Added value: +"Configured model name. Set with provider_config to switch models."
addedInput schema / $defs / AgentConfigDefinitionSubagentModel / properties / provider_config / description
Added value: +"Model provider name. Set with name to switch models."
addedInput schema / $defs / AgentConfigDefinitionSubagentModel / properties / reasoning / description
Added value: +"Overrides the base model's reasoning effort."
addedInput schema / $defs / AgentConfigDefinitionSubagentModel / properties / reasoning / properties / effort / description
Added value: +"Reasoning effort, such as low, medium, or high."
removedInput schema / $defs / AgentConfigDefinitionSubagentModel / x-go-type
Removed value: -"json.RawMessage"
removedInput schema / $defs / AgentConfigDefinitionSubagents / x-go-type
Removed value: -"json.RawMessage"
addedInput schema / $defs / AgentConfigDefinitionTool / if / properties / type / description
Added value: +"Applies when type is custom."
addedInput schema / $defs / AgentConfigDefinitionTool / properties / deferred / description
Added value: +"Keep the tool out of context until tool_search loads it. Defaults to false."
addedInput schema / $defs / AgentConfigDefinitionTool / properties / description / description
Added value: +"Custom tools only. Tells the model what the tool does."
addedInput schema / $defs / AgentConfigDefinitionTool / properties / enabled / description
Added value: +"Set to false to disable the tool, including default tools."
addedInput schema / $defs / AgentConfigDefinitionTool / properties / input_schema / description
Added value: +"Custom tools only. JSON Schema for the tool's arguments."
addedInput schema / $defs / AgentConfigDefinitionTool / properties / permission / description
Added value: +"Overrides the tool's default permission. GET /tool-catalog lists defaults and modes."
addedInput schema / $defs / AgentConfigDefinitionTool / properties / type / description
Added value: +"built_in for an Omnara tool, custom for a tool your system runs."
removedInput schema / $defs / AgentConfigDefinitionTool / x-go-type
Removed value: -"agentconfig.AgentConfigToolSource"
removedInput schema / $defs / AgentConfigDefinitionTool / x-go-type-import
Removed value: -{
- "path": "github.com/omnara-ai/omnara/internal/agentconfig"
-}
addedInput schema / $defs / AgentConfigDefinitionToolInputSchema / properties / properties / description
Added value: +"Arguments, keyed by name, as JSON Schemas."
addedInput schema / $defs / AgentConfigDefinitionToolInputSchema / properties / required / description
Added value: +"Names of required arguments."
addedInput schema / $defs / AgentConfigDefinitionToolInputSchema / properties / type / description
Added value: +"Root type of the argument schema."
removedInput schema / $defs / AgentConfigDefinitionToolInputSchema / x-go-type
Removed value: -"json.RawMessage"
addedInput schema / $defs / AgentConfigDefinitionToolPermission / properties / mode / description
Added value: +"always_allow, always_ask (wait for human approval), or always_deny."
addedInput schema / $defs / AgentConfigDefinitionToolPermission / properties / parameters / description
Added value: +"Mode-specific settings. Current modes take none."
removedInput schema / $defs / AgentConfigDefinitionToolPermission / x-go-type
Removed value: -"json.RawMessage"
removedInput schema / $defs / AgentConfigDefinitionTools / x-go-type
Removed value: -"json.RawMessage"
changedInput schema / properties / source / description
Previous value: -"Agent config source as YAML or JSON text, or, with source_format json, as a JSON object."New value: +"Config to compile: YAML or JSON text, or a JSON object when source_format is json."
removedInput schema / properties / source / x-go-type
Removed value: -"json.RawMessage"
changedInput schema / properties / source_format / description
Previous value: -"Format of source: yaml or json."New value: +"Encoding of source."
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"
+}