Lock or unlock compendium
set-compendium-lockChange a compendium's locked state to control whether its contents can be edited. Specify the compendium ID and set locked to true or false.
Instructions
Lock or unlock a compendium. Which ones may be touched follows the module settings: by default every compendium, or only the ones on the release list if it has been filled in.
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": {
"packId": "<packId>",
"locked": "<locked>"
},
"name": "set-compendium-lock"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| locked | Yes | true to lock it, false to unlock it | |
| packId | Yes | Id of the compendium |