Write canvas document
write_canvasCreate or replace a markdown canvas document, auto-parsing headings into sections for parallel editing. Use for full rewrites; patch sections for partial updates.
Instructions
Create or fully replace a canvas document. Markdown headings are auto-parsed into sections for parallel editing. A replace overwrites prior content and cannot be undone. Requires canvas:write or full permission. Use patch_canvas_section for partial updates and lock_canvas_section before multi-agent edits. Pass playbook_id as the UUID or GUID of the playbook this call should target.
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": {
"playbook_id": "<playbook_id>",
"run_id": "<run_id>",
"slug": "<slug>",
"name": "<name>",
"content": "<content>"
},
"name": "write_canvas"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Document title | |
| slug | Yes | URL-friendly document identifier | |
| run_id | Yes | Workflow run UUID | |
| content | Yes | Full markdown content | |
| metadata | No | Custom document metadata | |
| playbook_id | Yes | UUID or GUID of the target playbook |