schedule_job
Schedule an HTTP request to run once or on a recurring interval (e.g. every 5m/1h/1d). Each run is prepaid from your credit balance. Returns the job id, status and remaining balance.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"url": "<url>"
},
"name": "schedule_job"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pay | No | When true, the scheduler pays the target endpoint via x402 (USDC on Base) on each run from Omniyond's operator wallet, up to maxPriceUsd. Lets an agent schedule a job that itself buys a paid API. Requires an API key with prepaid credits. | |
| url | Yes | The URL the job will call (http/https, public hosts only). | |
| body | No | Optional request body (string). | |
| runAt | No | ISO timestamp for the first run. Defaults to now. | |
| method | No | HTTP method. | POST |
| headers | No | Optional request headers. | |
| maxRuns | No | For recurring jobs: how many runs to prepay (each run costs the per-run fee). | |
| delivery | No | Where results go: stored for retrieval, POSTed to callbackUrl, or both. | store |
| schedule | No | Recurrence interval like "5m", "1h", "1d". Omit for a one-shot job. Minimum 5m. | |
| callbackUrl | No | URL to POST each run result to (required for callback delivery). | |
| maxPriceUsd | No | Max USD the scheduler will pay the downstream API per run when pay=true. Defaults to $0.10, hard-capped at $1.00. Reserved per run from your credits; unspent reservation is refunded on cancel. |