Set an app compute limit
set_compute_limitSet both finite per-replica compute axes on an owned deployment without changing its artifact: memory_mb and cpu_percent (100 = one core). The front re-runs account admission and the worker applies the new cgroup bound; use status to observe the exact admitted hold and rollout.
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": {
"app": "<app>",
"memory_mb": "<memory_mb>",
"cpu_percent": "<cpu_percent>"
},
"name": "set_compute_limit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | Yes | ||
| token | No | fallback bearer for clients that cannot send an Authorization header; when a header is present omit this argument, because a different token is refused | |
| memory_mb | Yes | ||
| cpu_percent | Yes |