Restack stack
stack_restackRebase and push an owned stack's layer branches onto their parents after the trunk or a lower layer moves; does not merge or enqueue anything.
Instructions
Rebase one owned stack's layer branches onto their parents and push them, after the trunk or a lower layer moved. Does not merge or enqueue anything. Follow watch.next.args until watch.done; background watching requires a confirmed host notification. See server instructions.
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": {
"stack_id": "<stack_id>"
},
"name": "stack_restack"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stack_id | Yes |