update_document
Update an existing document you own. Omit any field to keep its current value.
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>"
},
"name": "update_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Document slug | |
| title | No | New title | |
| content | No | New markdown content | |
| expires_at | No | ISO 8601 expiry datetime; omit to keep current | |
| visibility | No | New visibility level | |
| editor_emails | No | Comma-separated emails that can edit; pass empty string to clear | |
| allowed_domain | No | Domain allowed to view, e.g. company.com; required for domain_restricted | |
| allowed_emails | No | Comma-separated emails allowed to view; pass empty string to clear | |
| domain_can_edit | No | When true, all users in allowed_domain can edit (not just view) |