paperclip_run_routine
Trigger a routine run immediately to test or execute it on demand, overriding its scheduled time.
Instructions
Manually trigger a routine run immediately, bypassing its schedule.
Args:
routineId: string — Routine UUID (example: "rtn_abc123")
agentId: string (optional) — Agent UUID to run the routine (overrides routine's default assignee)
Returns: Returns the created run object: id, routineId, status, startedAt.
Examples:
Use when: testing a routine on demand before its next scheduled fire
Don't use when: you want to check past runs — use paperclip_list_routine_runs instead
Error Handling:
401: authentication failed → check PAPERCLIP_API_KEY
404: routine not found → verify ID with paperclip_list_routines
409: concurrency policy forbids concurrent run → wait for the active run to finish
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| routineId | Yes | Routine UUID | |
| agentId | No | Agent UUID to run the routine (overrides routine's default assignee) |