lock_content_control
Prevent editing of a Word document content control by locking it with a specified tag. Select lock type to apply restrictions.
Instructions
Lock a content control to prevent editing.
Args: tag: Tag name of the control to lock. lock: Lock type — sdtLocked|contentLocked|sdtContentLocked.
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": {
"tag": "<tag>"
},
"name": "lock_content_control"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | Yes | ||
| lock | No | sdtLocked |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |