Keep, discard or undo agent work
decide_suggestionsKeep, discard, or undo an agent's suggested changes on a shared slate, including selected items, so only approved work is saved to the canvas.
Instructions
Keep (save) or discard what an agent suggested on a shared slate (one action or some of its items), or undo one agent action that was kept or saved directly.
Keep/discard/undo. Decide what an agent's work on a slate becomes, as the canvas does. keep or discard: what it suggested, as Keep and Discard on each ghost: name the action (actionId, from your edit or slates.get include=suggestions), optionally some of its items (itemIds); Keep all on an agent's chip decides each of its actions. Keeping saves them as one change (a line brings the new notes at its ends); an item whose note is gone is refused and says why. Discarding saves nothing. undo: one action (actionId) that was kept or saved directly, as Undo in the agent's activity list: only that action, and only what nobody changed since (left[] says what stayed and why), so it never undoes another agent's work or a person's. Needs the edit right on the slate. Only people keep: an agent never keeps suggestions, and undoes only its own work. An invited agent's action card (a waiting note that stands for a change outside Slatebox, such as a new Linear issue) is approved by keeping that note on its own (itemIds) and declined by discarding it; Keep all never approves one, and held[] says why a card waits.
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": {
"shareId": "<shareId>",
"decision": "<decision>",
"actionId": "<actionId>"
},
"name": "decide_suggestions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | The confirmation id from a confirmation_required result, once the person agreed. | |
| itemIds | No | Only these items of the action. | |
| shareId | Yes | The slate ID from its address: /canvas/<shareId>. | |
| actionId | Yes | The action, as list_suggestions gives it (actions[].actionId). | |
| decision | Yes | ||
| idempotencyKey | No | Send with confirm: the idempotencyKey from the confirmation_required result. |