canvas_edit
Apply one edit to a Slack canvas: insert, replace, delete, or rename content. Target sections by ID for precise updates, or replace the entire canvas body.
Instructions
Apply one edit. operation: insert_at_start|insert_at_end|insert_before|insert_after|replace|delete|rename. insert_before/insert_after/delete need section_id (canvas_find_sections); replace without section_id replaces the whole canvas; rename uses markdown_content as the new title.
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": {
"canvas_id": "<canvas_id>",
"operation": "<operation>"
},
"name": "canvas_edit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| canvas_id | Yes | ||
| operation | Yes | ||
| section_id | No | ||
| markdown_content | No |