Remove board strokes
remove_strokesDelete specific board strokes by id — any owner's, including human strokes (a power beyond the human Undo, which only takes back your own). Get ids from get_board_state. Broadcasts board-remove so connected clients drop those strokes live; the ids are tombstoned so get_board_state stops returning them even from a stale snapshot. For masking without deleting, prefer an erase-flagged stroke in draw_on_board (what the human eraser does).
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": {
"roomId": "<roomId>",
"ids": "<ids>"
},
"name": "remove_strokes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | Stroke ids to delete (1-144, from get_board_state — human ids look like user:<id>:<seq>, agent ids like ai:<sender>:<seq>). | |
| roomId | Yes | The room ID whose board to edit. | |
| senderId | No | Optional stable identity for the agent (max 64 chars). Defaults to "mcp-agent". | |
| agentSecret | No | Optional agent credential (8-128 chars — keep it random). Must match the secret that claimed this senderId. REQUIRED on a locked pond. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | ||
| note | Yes | ||
| roomId | Yes | ||
| removed | Yes | Stroke count removed | |
| aiUserId | Yes | ||
| delivered | Yes |