Skip to main content
Glama

Update agent config

agents_update
Destructive

Replace an active agent's configuration without restarting its conversation. Send the complete config; model and tool changes apply at the next model call, while machine changes apply immediately.

Instructions

Replaces an active agent's config without restarting its conversation and returns the new agent_config. Model, instruction, and tool changes apply at the agent's next model call; machine changes apply immediately, stopping processes on removed machines and deleting the agent's machines from removed pools. Send the complete config, not a patch.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "agentID": "<agentID>",
      "orgID": "<orgID>",
      "projectID": "<projectID>",
      "source": "<source>",
      "source_format": "<source_format>"
    },
    "name": "agents_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
orgIDYesOrganization ID (org_...).
sourceYesConfig to compile: YAML or JSON text, or a JSON object when source_format is json.
agentIDYesAgent ID (agt_...).
projectIDYesProject ID (proj_...).
source_formatYesEncoding of source.
expected_current_config_idNoAgent config ID (acfg_...).

Output Schema

NameRequiredDescriptionDefault
event_idYes
agent_inputYes
agent_configYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed102 schema fields changedv0.1.10
    • 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": {
      +    "ActorID": {
      +      "pattern": "^actr_[a-z2-7]{26}$",
      +      "type": "string"
      +    },
      +    "AgentConfig": {
      +      "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"
      +    },
      +    "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"
      +    },
      +    "AgentEventID": {
      +      "pattern": "^evt_[a-z2-7]{26}$",
      +      "type": "string"
      +    },
      +    "AgentID": {
      +      "pattern": "^agt_[a-z2-7]{26}$",
      +      "type": "string"
      +    },
      +    "AgentInput": {
      +      "properties": {
      +        "actor_id": {
      +          "$ref": "#/$defs/ActorID",
      +          "description": "Actor this input is attributed to. Absent when the input has no actor attribution."
      +        },
      +        "agent_id": {
      +          "$ref": "#/$defs/AgentID"
      +        },
      +        "content_blocks": {
      +          "items": {
      +            "$ref": "#/$defs/AgentInputContentBlock"
      +          },
      +          "type": "array"
      +        },
      +        "delivery_mode": {
      +          "$ref": "#/$defs/AgentInputDeliveryMode"
      +        },
      +        "id": {
      +          "$ref": "#/$defs/AgentInputID"
      +        },
      +        "input_idempotency_key": {
      +          "description": "Idempotency key supplied when this content input was created. Absent for other input kinds.",
      +          "type": "string"
      +        },
      +        "input_kind": {
      +          "$ref": "#/$defs/AgentInputKind"
      +        },
      +        "queued_at": {
      +          "$ref": "#/$defs/Timestamp"
      +        },
      +        "scheduled_for": {
      +          "$ref": "#/$defs/Timestamp",
      +          "description": "Time this input was scheduled to join the agent's backlog. Present only for content inputs created with scheduled_for; it stays set after the input is released."
      +        },
      +        "state": {
      +          "$ref": "#/$defs/AgentInputState"
      +        }
      +      },
      +      "required": [
      +        "id",
      +        "agent_id",
      +        "state",
      +        "delivery_mode",
      +        "input_kind",
      +        "queued_at"
      +      ],
      +      "type": "object"
      +    },
      +    "AgentInputContentBlock": {
      +      "discriminator": {
      +        "mapping": {
      +          "media_ref": "#/$defs/MediaRefContentBlock",
      +          "text": "#/$defs/TextContentBlock"
      +        },
      +        "propertyName": "type"
      +      },
      +      "oneOf": [
      +        {
      +          "$ref": "#/$defs/TextContentBlock"
      +        },
      +        {
      +          "$ref": "#/$defs/MediaRefContentBlock"
      +        }
      +      ]
      +    },
      +    "AgentInputDeliveryMode": {
      +      "enum": [
      +        "queued",
      +        "steering",
      +        "immediate"
      +      ],
      +      "type": "string"
      +    },
      +    "AgentInputID": {
      +      "pattern": "^ain_[a-z2-7]{26}$",
      +      "type": "string"
      +    },
      +    "AgentInputKind": {
      +      "enum": [
      +        "content",
      +        "control",
      +        "interaction_response",
      +        "config_change"
      +      ],
      +      "type": "string"
      +    },
      +    "AgentInputState": {
      +      "description": "scheduled while a content input waits for its scheduled_for time, received once it is waiting for the agent, resolved when the agent has processed it, or canceled.",
      +      "enum": [
      +        "scheduled",
      +        "received",
      +        "resolved",
      +        "canceled"
      +      ],
      +      "type": "string"
      +    },
      +    "AgentProfileID": {
      +      "pattern": "^aprf_[a-z2-7]{26}$",
      +      "type": "string"
      +    },
      +    "ArtifactID": {
      +      "pattern": "^art_[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"
      +    },
      +    "ContentBlockMetadata": {
      +      "additionalProperties": {
      +        "maxLength": 512,
      +        "type": "string"
      +      },
      +      "description": "Arbitrary key-value labels. Keys beginning with `omnara_` are reserved for Omnara and may affect product behavior; use them only when intentionally invoking Omnara-defined behavior.",
      +      "maxProperties": 16,
      +      "propertyNames": {
      +        "maxLength": 64,
      +        "minLength": 1
      +      },
      +      "type": "object"
      +    },
      +    "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"
      +    },
      +    "MediaRefContentBlock": {
      +      "properties": {
      +        "artifact_id": {
      +          "$ref": "#/$defs/ArtifactID"
      +        },
      +        "exclude_from_model_context": {
      +          "description": "Whether the referenced artifact is excluded from later model context.",
      +          "type": "boolean"
      +        },
      +        "metadata": {
      +          "$ref": "#/$defs/ContentBlockMetadata"
      +        },
      +        "type": {
      +          "enum": [
      +            "media_ref"
      +          ],
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "type",
      +        "artifact_id"
      +      ],
      +      "type": "object"
      +    },
      +    "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"
      +    },
      +    "TextContentBlock": {
      +      "properties": {
      +        "metadata": {
      +          "$ref": "#/$defs/ContentBlockMetadata",
      +          "description": "Key-value metadata. omnara_ keys are reserved."
      +        },
      +        "text": {
      +          "description": "Block text: the message in agent inputs, or text from the model or a tool in events.",
      +          "type": "string"
      +        },
      +        "type": {
      +          "description": "text: a plain-text block.",
      +          "enum": [
      +            "text"
      +          ],
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "type",
      +        "text"
      +      ],
      +      "type": "object"
      +    },
      +    "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": {
      +    "agent_config": {
      +      "$ref": "#/$defs/AgentConfig"
      +    },
      +    "agent_input": {
      +      "$ref": "#/$defs/AgentInput"
      +    },
      +    "event_id": {
      +      "$ref": "#/$defs/AgentEventID"
      +    }
      +  },
      +  "required": [
      +    "agent_config",
      +    "agent_input",
      +    "event_id"
      +  ],
      +  "type": "object"
      +}
  2. Changed1 schema field changedv0.1.8
    • changedInput schema / $defs / AgentConfigDefinitionGitCredentials / properties / read_only / description
      Previous value: -"Prevents pushing, even if the integration allows it."New value: +"Prevents pushing and opening or approving pull requests, even if the integration allows it."
  3. Changed2 schema fields changedv0.1.4
    • removedInput schema / $defs / AgentConfigDefinition / properties / event_webhook
      Removed value: -{
      -  "$ref": "#/$defs/AgentConfigDefinitionEventWebhook"
      -}
    • removedInput schema / $defs / AgentConfigDefinitionEventWebhook
      Removed value: -{
      -  "additionalProperties": false,
      -  "properties": {
      -    "events": {
      -      "items": {
      -        "enum": [
      -          "agent_input",
      -          "model_output",
      -          "tool_result",
      -          "context_checkpoint",
      -          "tool_call_update"
      -        ]
      -      },
      -      "minItems": 1,
      -      "type": "array",
      -      "uniqueItems": true
      -    },
      -    "signing_secret_id": {
      -      "minLength": 1,
      -      "type": "string"
      -    },
      -    "url": {
      -      "minLength": 1,
      -      "type": "string"
      -    }
      -  },
      -  "required": [
      -    "url",
      -    "events"
      -  ],
      -  "type": "object",
      -  "x-go-type": "json.RawMessage"
      -}
  4. Changed2 schema fields changedv0.1.2
    • addedInput schema / $defs / AgentConfigDefinitionGitCredentials / properties / read_only
      Added value: +{
      +  "description": "Prevents pushing, even if the integration allows it.",
      +  "type": "boolean"
      +}
    • addedInput schema / $defs / AgentConfigDefinitionGitCredentials / properties / repository_ids
      Added value: +{
      +  "description": "GitHub repository IDs the credentials can access. Defaults to every repository the installation can access.",
      +  "items": {
      +    "minimum": 1,
      +    "type": "integer"
      +  },
      +  "maxItems": 500,
      +  "minItems": 1,
      +  "type": "array",
      +  "uniqueItems": true
      +}
  5. Changed5 schema fields changedv0.1.1
    • addedInput schema / properties / agentID / description
      Added value: +"Agent ID (agt_...)."
    • addedInput schema / properties / expected_current_config_id / description
      Added value: +"Agent config ID (acfg_...)."
    • addedInput schema / properties / orgID / description
      Added value: +"Organization ID (org_...)."
    • addedInput schema / properties / projectID / description
      Added value: +"Project ID (proj_...)."
    • addedInput schema / properties / source_format / description
      Added value: +"Format of source: yaml or json."
  6. First observed

TDQS

A4.7/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Beyond the destructiveHint annotation, the description explains exactly what is destroyed: processes on removed machines and the agent's machines from removed pools. It also distinguishes delayed effects (model, instruction, tool changes at the next model call) from immediate effects (machine changes), which is valuable operational context.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three sentences, each front-loaded with actionable information. Nothing is redundant, and the most safety-relevant details about machine deletion and stopping processes are stated directly.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description covers scope, return value, timing semantics, destructive side effects, and the complete-config requirement. With a full input schema, output schema, and destructive annotation already present, no critical behavioral gap remains.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the schema carries the parameter documentation burden. The description still adds meaningful semantics for the source parameter by warning that it must be the complete config, not a patch.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource: it replaces an active agent's config and returns the new agent_config. It also distinguishes itself from a create or launch operation by specifying that the conversation is not restarted.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives a clear usage constraint, telling the caller to send the complete config rather than a patch. It does not name sibling alternatives such as profiles_update, but the active-agent scope is explicit enough to guide correct selection.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.