spraay_cron_create
Schedule recurring payments, DCA strategies, or gateway actions with a standard cron expression. Data persists in Supabase for $0.005 USDC per job.
Instructions
Create a scheduled job for recurring payments, DCA strategies, reminders, or any gateway action. Supports standard 5-part cron expressions. Data persists in Supabase. Costs $0.005 USDC.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Gateway action to schedule (e.g. 'batch.execute', 'swap.execute', 'notify.email', 'payroll.execute', 'xmtp.send') | |
| maxRuns | No | Max executions before auto-cancel (omit for unlimited) | |
| payload | Yes | Payload for the scheduled action (same format as the action's direct API call) | |
| schedule | Yes | Cron expression (e.g. '0 9 * * 1' for every Monday at 9am) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | True when the gateway call succeeded; false when it returned an error. | |
| data | No | The gateway response payload on success. The exact shape depends on the tool (see the tool description and the JSON in the text content block). | |
| error | No | Human-readable error message, present only when ok is false. |