Skip to main content

Triggers

MCP tools for the Triggers module. See the Triggers module docs for permissions and data model.

list-triggers​

List triggers

Arguments​

ArgumentTypeRequiredDescription
project_idstringno—
typestringno—
target_typestringno—
limitnumbernoResults per page. Above the maximum it is clamped, and limit in the response reports the page served; below 1 or not an integer it is 400 VALIDATION_FAILED.
offsetnumbernoResults to skip. Negative or not an integer it is 400 VALIDATION_FAILED.

create-trigger​

Create a trigger

Arguments​

ArgumentTypeRequiredDescription
project_idstringnoPublic ID of the project. Optional when authenticating with a project-scoped API key, which defaults to the key's project; required otherwise.
namestringyes—
descriptionstringno—
typestringyes—
target_typestringyes—
target_idstringyes—
actionstringnoTool targets only — the action for builtin/mcp tools
inputobjectno—
tool_contextobjectnoCaller context every firing forwards to the run it starts, so an agent whose tools authorize through {{context:<key>}} can be put on a schedule — a firing has no request to carry one. Each key is forwarded as one X-Soat-Context-<key> header. Write-only. It is accepted here and never returned on a read, so the record cannot be used to recover a value. A value may be a {{secret:sec_...}} reference, which keeps the credential in the secret store and leaves only its id on the trigger; it is resolved at fire time, so rotating the secret changes the next firing without touching the trigger. A reference is refused here rather than at fire time when it is not in that id form (a secret's name does not resolve) or names a secret that does not exist in this project.
cronstringno5-field cron expression (UTC). Required when type is schedule
event_patternstringnoInternal-event subscription pattern. Required when type is event, rejected otherwise. * matches every event, prefix.* a namespace, or give an exact event name such as documents.ingested
activebooleanno—
policy_idstringno—

get-trigger​

Get a trigger

Arguments​

ArgumentTypeRequiredDescription
trigger_idstringyes—

update-trigger​

Update a trigger

Arguments​

ArgumentTypeRequiredDescription
trigger_idstringyes—
namestringno—
descriptionstring | nullno—
target_typestringno—
target_idstringno—
actionstring | nullno—
inputobject | nullno—
tool_contextobject | nullnoReplaces the stored bag; null clears it. Write-only and resolved at fire time — see CreateTriggerRequest.tool_context.
cronstring | nullno—
event_patternstring | nullno—
activebooleanno—
policy_idstring | nullno—

delete-trigger​

Delete a trigger

Arguments​

ArgumentTypeRequiredDescription
trigger_idstringyes—

fire-trigger​

Fire a trigger

Arguments​

ArgumentTypeRequiredDescription
trigger_idstringyes—
inputobjectnoFire-time input, shallow-merged over the trigger's static input. For eval targets it may carry agent_version and baseline_run_id.
tool_contextobjectnoFire-time caller context, shallow-merged per key over the trigger's stored tool_context. A manual fire has a caller, so this is the one path that can supply a value without storing it. Forwarded exactly as written: a {{secret:...}} reference is resolved only in the trigger's stored bag, never in one supplied here.

get-trigger-secret​

Get trigger secret

Arguments​

ArgumentTypeRequiredDescription
trigger_idstringyes—

rotate-trigger-secret​

Rotate trigger secret

Arguments​

ArgumentTypeRequiredDescription
trigger_idstringyes—

list-trigger-firings​

List trigger firings

Arguments​

ArgumentTypeRequiredDescription
trigger_idstringyesTrigger to list firings for (trg_...)
limitnumbernoResults per page. Above the maximum it is clamped, and limit in the response reports the page served; below 1 or not an integer it is 400 VALIDATION_FAILED.
offsetnumbernoResults to skip. Negative or not an integer it is 400 VALIDATION_FAILED.

get-trigger-firing​

Get a trigger firing

Arguments​

ArgumentTypeRequiredDescription
firing_idstringyes—