ads_delete_workflow
Delete a saved AMC query from the store's instance.
destructiveAmazon Adsads.amc-reporting
Ask the seller first. Amazon Ads API · deleteWorkflow · DELETE /amc/reporting/{instanceId}/workflows/{workflowId} Docs: https://advertising.amazon.com/API/docs/en-us/amc-reporting#tag/Workflows/operation/deleteWorkflow Gate: approve — interactive: show the change (Amazon's preview first where one exists), wait for an explicit approve; autopilot: only when the seller's own words asked for this change; otherwise ask.
Call it
In an AI client (MCP)
{
"name": "ads_delete_workflow",
"arguments": {
"store": "myStore-US",
"country_code": "<country_code>",
"workflow_id": "<workflow_id>"
}
}From code (Tool API)
curl -X POST https://api.sellersheetai.com/api/v1/tools/ads_delete_workflow \
-H "Authorization: Bearer $SELLERSHEET_API_KEY" \
-H "Content-Type: application/json" \
-d '{"store":"myStore-US","country_code":"<country_code>","workflow_id":"<workflow_id>"}'Early access — the Tool API is open on request, contact us.
Arguments
| Name | Type | Description |
|---|---|---|
storerequired | string | the store ref `<store>-<CC>` (name-country, e.g. 'myStore-US') — one of get_user_context's store_refs, verbatim. |
country_coderequired | string | the Ads profile's 2-letter country code (e.g. 'US'). |
workflow_idrequired | string | the saved workflow's id. |
Result
Every tool answers {notification, data, human_action}; data carries:
data.deleted— true when Amazon removed it.
Gotchas
- Its past runs stay, but it cannot be run by id again.
- Delete the schedules that run it first (ads_list_schedules names their workflowId).
- A synced report's workflow (data.synced_ids of ads_list_workflows) is refused.