lock_command
Prevent or allow execution of specific HWP commands by locking or unlocking them. Specify the command name and set lock to true or false.
Instructions
Lock or unlock a HWP command.
Args: cmd: Command name to lock/unlock lock: True to lock, False to unlock
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": {
"cmd": "<cmd>",
"lock": "<lock>"
},
"name": "lock_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cmd | Yes | ||
| lock | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||