Resize tool
resize_toolMoves an installed tool to a different instance type and restarts it to apply resource changes; retry later if TOOL_BUSY indicates an in-progress rollout.
Instructions
Moves an installed tool to another instance type (see get_pricing_catalog). The tool restarts. If it reports TOOL_BUSY, a previous change is still rolling out: retry later.
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": {
"tool": "<tool>",
"instance": "<instance>"
},
"name": "resize_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool | Yes | Installed tool name (e.g. orders-db) or ID. | |
| fields | No | Resource settings to change (default: detected from the tool's schema). | |
| project | No | Project name or ID. Defaults to NIMBUZ_PROJECT, the `nimbuz use` context, or the only project. | |
| instance | Yes | Instance type, e.g. medium.m. | |
| environment | No | Environment name (e.g. production) or ID (env-…). Defaults to NIMBUZ_ENV, the `nimbuz use` context, or the only environment. |