Resize a briq
briq_resizeGive a briq another size, or a bigger volume, and keep the briq: its disk, volume and URLs stay. Example: { briq: "bq_…", size: "medium", volumeGb: 20 }. A new size restarts a running briq: its processes start over, so finish or save work first. A stopped or sleeping briq takes it at its next start. A volume only grows. Applying growth may restart a running briq, so finish or save work first. Pass image and/or healthcheck to configure a stopped briq (null clears the healthcheck; omitted preserves it); it stays stopped and needs an explicit briq_start afterward. Checked like briq_run: sizes, disk and credits. Returns once it lands (up to 30 s); resizing means it is still on its way.
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": {
"briq": "<briq>"
},
"name": "briq_resize"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| briq | Yes | ||
| size | No | pico | micro | nano | small | medium | large | xlarge: the new size | |
| image | No | New image for a stopped briq; then start explicitly | |
| volumeGb | No | The volume grown to this many GB; more than it has now | |
| healthcheck | No | Stopped briq only: replace healthcheck; null clears it; omitted preserves it |