paperclip_update_routine_trigger
Update the kind or cron schedule of an existing routine trigger to adjust its execution frequency or event type.
Instructions
Update an existing routine trigger's kind or cron schedule.
Args:
triggerId: string — Routine trigger UUID (example: "trg_abc123")
kind: string (optional) — New trigger kind: schedule | webhook | api
cronExpression: string (optional) — New 5-field cron expression (example: "0 9 * * 1-5")
timezone: string (optional) — New timezone for schedule triggers
Returns: Returns the updated trigger object: id, routineId, kind, cronExpression, updatedAt.
Examples:
Use when: changing a routine from every 5 minutes to daily at 9 AM on weekdays
Don't use when: you need to add a new trigger — use paperclip_add_routine_trigger instead
Error Handling:
400: invalid cron expression → ensure 5 whitespace-separated fields
401: authentication failed → check PAPERCLIP_API_KEY
404: trigger not found → verify ID with paperclip_get_routine
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| triggerId | Yes | Routine trigger UUID | |
| kind | No | New trigger kind | |
| cronExpression | No | New 5-field cron expression for schedule triggers | |
| timezone | No | New timezone for schedule triggers |