agents_trigger_update
ActiveTool of io.github.saloprj/dialogbrain
declared in 1.17.0
Update an existing AI agent trigger. All parameters are optional — only provided fields will be updated.
Parameters schema
{
"type": "object",
"required": [
"trigger_id",
"agent_id"
],
"properties": {
"enabled": {
"type": "boolean",
"description": "Enable or disable this trigger. OMIT to leave the enabled flag unchanged."
},
"agent_id": {
"type": "integer",
"description": "ID of the agent that owns this trigger"
},
"priority": {
"type": "integer",
"description": "Trigger priority — lower numbers run first"
},
"send_mode": {
"enum": [
"auto",
"draft"
],
"type": "string",
"description": "New send mode override. OMIT to leave the send-mode unchanged."
},
"conditions": {
"type": "object",
"description": "New trigger conditions (replaces existing). Same fields as trigger_create:\nkeywords, keyword_match, channel_types, context_types, group_mode,\nchannel_account_ids, folder_ids, ai_tag_ids,\nai_filter_ids, ai_filter_mode,\nai_filters: [{id: 1}, {name: \"...\", description: \"...\"}] — shorthand: reference existing by id or create inline (calls Voyage embedding API). If a filter with the same name already exists, it is reused by id.\ncontact_states, cooldown_seconds, max_runs_per_thread_per_hour.\ncalendar_event: window_minutes_before (1-1440, required), channel_account_ids, keywords, prepare_meet_join.\nGeneric (incoming_message + calendar_event): run_mode \"text\"|\"voice\" (voice requires send_mode=auto), voice: {speak_first, vision_mode}"
},
"thread_ids": {
"type": "array",
"items": {
"type": "integer"
},
"description": "Restrict this trigger to specific threads (chats) by their numeric thread IDs. When set, merged into conditions.thread_filter.thread_ids. If conditions is also provided, thread_ids is merged into it. Only for incoming_message and job_completed triggers."
},
"trigger_id": {
"type": "integer",
"description": "ID of the trigger to update"
},
"trigger_type": {
"enum": [
"incoming_message",
"incoming_call",
"schedule",
"webhook",
"event",
"blockchain_event",
"job_completed",
"calendar_event"
],
"type": "string",
"description": "New trigger type. OMIT to keep the existing type unchanged."
},
"excluded_thread_ids": {
"type": "array",
"items": {
"type": "integer"
},
"description": "Exclude specific threads (chats) by their numeric thread IDs — the opposite of thread_ids. When set, the trigger NEVER fires for messages in these threads (explicit deny wins). Merged into conditions.thread_filter.excluded_thread_ids. Only for incoming_message and job_completed triggers."
}
}
}Parent server
io.github.saloprj/dialogbrain
https://github.com/saloprj/dialogbrain-mcp
1/7 registries