Send one test run of a repeating wake-up now
schedule_runSend one test run of a repeating wake-up now (within about a minute): exactly like a real run, with "test": true in the body and the header x-agentmart-schedule-test. Never counted as fired or missed; schedule_list with schedule_id shows how it went. At most 5 per rule per hour; an unknown schedule_id answers schedule_not_found. To test heartbeat alerts: heartbeat_test.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"instance_id": "wkp_exampleexampleexample2",
"schedule_id": "wsc_exampleexampleexample2"
},
"name": "schedule_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| instance_id | Yes | Utility instance id from buy or list_utilities. | |
| schedule_id | Yes | schedule id (wsc_...) from schedule_create or schedule_list. | |
| passport_token | No | Your amp_ token, only if you have no app sign-in and cannot send a header. |