vaka_set_door_code
Update an access group's door code with a preview-confirmed two-step write, passing the access group ID and new code.
Instructions
WRITE. Set the door code of an access group. Two-step.
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": {
"accessgroup_id": "<accessgroup_id>",
"code": "<code>"
},
"name": "vaka_set_door_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ||
| reveal_codes | No | Show PINs / door codes / password hashes instead of <set>. Only when the user asks to see them. | |
| confirm_token | No | Omit for the preview. To write, pass the confirm_token the preview returned, with the same arguments, after the user approved that exact change. A token works once and for 30 minutes. | |
| accessgroup_id | Yes |