Set Agent Lock
lyzr_set_agent_lockSet an agent's locked status to control access. Optionally scope the lock to a specific environment.
Instructions
Lock or unlock an agent, optionally scoped to an environment.
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": {
"agent_id": "<agent_id>",
"is_locked": "<is_locked>"
},
"name": "lyzr_set_agent_lock"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes | The agent_id to update | |
| is_locked | Yes | Whether the agent should be locked | |
| environment | No | Optional environment to scope the lock to |