wf_document_lock
Locks a document to prevent edits or unlocks it to allow changes, using the document ID and an optional organization workspace.
Instructions
Lock or unlock 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": {
"documentId": "<documentId>",
"lock": "<lock>"
},
"name": "wf_document_lock"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lock | Yes | true to lock, false to unlock | |
| documentId | Yes | Document ID | |
| organization | No | Organization workspace name (uses default if omitted) |