Set Always Allowed
set_always_allowedTurns «allowed without asking» on or off for one kind of action that LMCP otherwise confirms first (sending emails or messages, permanent deletes, terminal commands…). Call it only when the person asked for it in this conversation: allowed: true when they say "don't ask me again" for that kind of action, allowed: false when they want to be asked again. Turning one on needs confirm: true after the person approves; without it the answer says what would change and nothing changes. Turning one off acts at once. lmcp_state lists what is allowed now (always_allowed). Your organization's IT policy can forbid turning one on.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | The kind of action: send_email (send_email, reply_email, Microsoft 365, Proton, Thunderbird), send_imessage, send_teams, reply_whatsapp, reply_telegram, send_zalo, send_servicenow, send_report, publish_recipe, submit_web_form, run_web_script, run_command, run_shortcut, and the permanent deletes. | |
| allowed | Yes | true: do it without asking from now on. false: ask again. | |
| confirm | No | true after the person approved turning it on. Not needed to turn one off. |