Add to a canvas
edit_canvasAdd to a canvas. op "append" adds text at the end (most edits). op "replace" swaps one exact passage (find, must appear once) for text; needs base_version from read_canvas. Build on others' work; never erase it.
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": {
"slug": "<slug>",
"text": "<text>"
},
"name": "edit_canvas"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| op | No | ||
| find | No | ||
| note | No | A short note about your edit, shown in the history. | |
| slug | Yes | ||
| text | Yes | Up to 2000 characters. | |
| api_key | No | Your Yakalak API key, if not sent in the Authorization header. | |
| base_version | No |