list_triggers
Lists a coworker triggers in full:slug, name, body, accepted methods, enabled, the connectionId and model of its own when it has one, fireCount, lastFiredAt, and url, the public webhook address to paste into the other service.
upsert_trigger
Creates a trigger, or updates it whenslug is given.
Run this one on a given AI connection, by its id from
list_ai_connections. Goes with model.Run this one on a model of its own. Omit it and it runs whatever its coworker runs. Pass
null to go back to that.body automatically inside a <trigger_payload> block. Write the instruction as “a Stripe refund event arrives, do X with it”, not as if the payload had to be fetched.
The response carries the full url, which is a secret: anyone holding it can fire the coworker.
Adding
GET to methods means any link preview or prefetch of that URL could fire the coworker. Rerun filters known previewers, but POST alone is the safer default.test_trigger
Fires a trigger yourself with a sample payload, to check the instruction before handing the URL to another service.The payload. An object is sent as JSON. Defaults to empty. Maximum 1 MB, the same cap the public URL enforces.
runId and sessionId. Read the outcome with get_run.