Rewrite a note
update_noteRewrites a note: a new title, a new whole body (markdown), or both. Read it first and pass its revision so the person's newer edits are kept.
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": {
"workspace": "<workspace>",
"noteId": "<noteId>"
},
"name": "update_note"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | The whole new body in markdown. | |
| title | No | ||
| blocks | No | Coline's note blocks, instead of a markdown body. Rarely needed. | |
| noteId | Yes | Note id from search, fetch or create_note. | |
| workspace | Yes | Workspace slug from workspaces.list, e.g. "acme". | |
| mutationId | No | ||
| baseRevision | No | The revision you read; edits made since then are merged, not lost. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| body | Yes | ||
| title | Yes | ||
| noteId | Yes | ||
| revision | Yes | ||
| bodyTruncated | Yes |