create-automation
Create a standing automation — a trigger plus one or more actions that run every time it fires (scheduled price ladders, tag rules, auto end-and-relist). Created INACTIVE unless isActive is true, so you can read it back and check it before it touches live listings. Call get-automation-catalog first for the valid app / trigger / action combinations. Authenticated via bearer token.
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": {
"app": "<app>",
"name": "<name>",
"trigger": "<trigger>",
"actions": "<actions>"
},
"name": "create-automation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | Yes | Which app the automation belongs to | |
| name | Yes | Automation name | |
| notes | No | Free-text note | |
| actions | Yes | Actions to perform when it fires | |
| channel | No | Channel to limit to, or all_channels. Defaults to ebay. | |
| filters | No | Optional filter tree narrowing which records the automation applies to — the same shape create-action takes and get-segments returns | |
| trigger | Yes | Event that fires the automation, e.g. schedule, item_listed, Completed | |
| isActive | No | Start it running immediately. Defaults to false. | |
| sellerId | No | Limit to one seller account; omit for every account on the channel | |
| actionConfig | No | Action-specific settings. Call get-automation-catalog for the keys each action reads. Must include a `schedule` object when trigger is "schedule". | |
| actionDelayMinutes | No | Minutes to wait after the trigger before acting |