update_document
Replace a document's Markdown content, rename it, or move it to a new parent or teamspace.
Instructions
Replace content (Markdown), rename or move a document
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>",
"documentId": "<documentId>"
},
"name": "update_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | ||
| markdown | No | New body (replaces content) | |
| parentId | No | Move under this document; null = top level | |
| workspace | Yes | ||
| documentId | Yes | Document id | |
| teamspaceId | No | Move to this teamspace |