Update machine pool
pools_updateTenant-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.
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 | Optional 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 | Provider-specific settings for the pool. | |
| 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 | Whether Omnara should delete a pool machine when its provider remains running after its daemon becomes inactive. | |
| default_machine_provider_options | No | Provider-specific options applied to new machines in the pool. |