Move a briq into or out of a stack
briq_movePut a briq in a stack, or take it out. Briqs of one stack reach each other by name; a briq in no stack reaches none, so a briq whose env uses {{briq:NAME}} cannot be taken out (refused). Example: { briq: "bq_…", stack: "shop" } (a new name makes the stack), or { briq: "bq_…", stack: null } to take it out. To group briqs made apart: move the first into a new stack (free), then create the next ones in it (briq_run with stack). A briq alone that joins a new stack, or leaves one, moves in place: no restart. A running briq that joins a stack that already has briqs restarts: its processes start over and its private IP changes, so finish or save work first (restarted: true). If the stack's briqs run on another host the move is refused: make the briq again in the stack. The briq keeps its disk, name and URLs. Briqs left in the old stack no longer reach it. Returns once it lands (up to 30 s); moving 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>",
"stack": "<stack>"
},
"name": "briq_move"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| briq | Yes | ||
| stack | Yes | The stack to move it into (a name; a new name makes it), or null to take it out |