Update machine pool
pools_updateUpdate a machine pool's defaults, limits, environment, metadata, and idle deletion policy. Tenant-managed pools accept all changes; cluster-managed pools reject unsupported edits with 409 Conflict.
Instructions
Tenant-managed pools support every request field. Cluster-managed pools only allow changes to default CPU and memory, environment and secret environment variables, provider-supported per-machine CPU and memory limits, and the idle deletion policy. Other cluster-managed changes are rejected with 409 Conflict.
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": {
"orgID": "<orgID>",
"poolID": "<poolID>"
},
"name": "pools_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Human-readable name. Spaces and punctuation are allowed; leading or trailing whitespace and invisible or control characters are not. | |
| orgID | Yes | Organization ID (org_...). | |
| poolID | Yes | Machine pool ID (mpo_...). | |
| metadata | No | User-supplied metadata stored on a machine, provided directly or copied from the machine pool that provisions it. A restriction of Metadata that leaves room for one reserved pair - Omnara sets observed_platform on the machine to the platform reported by its daemon, so the key is reserved and at most 15 user pairs are accepted. | |
| default_cwd | No | Default working directory for processes on machines created from the pool after this change. | |
| description | No | Free-form description of the pool. | |
| max_total_cpu | No | Maximum total CPU across the pool's live machines. | |
| max_machine_cpu | No | Largest CPU count a single machine in the pool can use. | |
| min_machine_cpu | No | Smallest CPU count a single machine in the pool can use. | |
| provider_config | No | Pool-wide provider settings, such as a workspace or domain, and allowlists for overrides. Keys depend on the provider. | |
| max_total_machines | No | Maximum number of live machines in the pool. | |
| default_machine_cpu | No | Default CPU count for new machines in the pool. | |
| default_machine_env | No | Default environment for pool machines. A machine's environment, including resolved secret_env values, is applied to the provider machine at provisioning, so the provider_options startup_script and the daemon run with it, and is resolved again for each process at launch. | |
| max_total_memory_mb | No | Maximum total memory in MB across the pool's live machines. | |
| max_machine_memory_mb | No | Largest memory in MB a single machine in the pool can use. | |
| min_machine_memory_mb | No | Smallest memory in MB a single machine in the pool can use. | |
| provider_auth_secret_id | No | Secret ID (sec_...). | |
| default_machine_memory_mb | No | Default memory in MB for new machines in the pool. | |
| delete_after_idle_minutes | No | Idle minutes before deleting a machine from this pool. Null clears the pool default; omitted leaves it unchanged. | |
| default_machine_secret_env | No | Default secret environment for pool machines, mapping env names to generic secret references. References are resolved to secret values wherever the machine environment is applied. | |
| runtime_protection_enabled | No | When true, Omnara deletes pool machines that keep running at the provider after their daemon goes inactive. | |
| default_machine_provider_options | No | Provider options for new machines, such as image, region, or startup_script. Keys depend on the provider. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| name | Yes | ||
| usage | No | Current quota-consuming usage. Populated when the machine pool is returned by the list or get endpoint. | |
| org_id | Yes | ||
| metadata | Yes | ||
| provider | Yes | ||
| created_at | Yes | ||
| updated_at | Yes | ||
| default_cwd | Yes | ||
| description | Yes | ||
| max_total_cpu | Yes | ||
| management_kind | Yes | ||
| max_machine_cpu | Yes | ||
| min_machine_cpu | Yes | ||
| provider_config | Yes | ||
| max_total_machines | Yes | ||
| default_machine_cpu | Yes | ||
| default_machine_env | Yes | Default environment for pool machines. A machine's environment, including resolved secret_env values, is applied to the provider machine at provisioning, so the provider_options startup_script and the daemon run with it, and is resolved again for each process at launch. | |
| max_total_memory_mb | Yes | ||
| max_machine_memory_mb | Yes | ||
| min_machine_memory_mb | Yes | ||
| provider_auth_secret_id | No | ||
| default_machine_memory_mb | Yes | ||
| delete_after_idle_minutes | Yes | Idle minutes before deleting a machine from this pool, or null when the pool default is unset. | |
| default_machine_secret_env | Yes | Default secret environment for pool machines, mapping env names to generic secret references. References are resolved to secret values wherever the machine environment is applied. | |
| runtime_protection_enabled | Yes | Whether Omnara deletes this pool's machines when the provider remains running after the daemon becomes inactive. | |
| default_machine_provider_options | Yes |