Execute AMC workflow (async)
amc_execute_workflowStart execution of a saved AMC workflow over a defined time window. Returns an execution ID to check progress and download results.
Instructions
Start an execution of a saved AMC workflow over a time window. Returns an execution id; poll with amc_get_execution, then fetch results with amc_get_download_urls.
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": {
"entityId": "<entityId>",
"marketplaceId": "<marketplaceId>",
"instanceId": "<instanceId>",
"workflowId": "<workflowId>"
},
"name": "amc_execute_workflow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entityId | Yes | AMC entity id (Amazon-Advertising-API-AdvertiserId header), e.g. ENTITY1ABC… | |
| marketplaceId | Yes | Marketplace id (Amazon-Advertising-API-MarketplaceId header), e.g. ATVPDKIKX0DER for amazon.com | |
| instanceId | Yes | ||
| workflowId | Yes | ||
| timeWindowStart | No | ISO-8601, e.g. 2026-05-01T00:00:00Z | |
| timeWindowEnd | No | ||
| timeWindowType | No | e.g. EXPLICIT, MOST_RECENT_WEEK — see AMC docs. |