# cancel_queued_post

> Cancel a queued post with Wavegrain's MCP server: the cancel_queued_post tool needs the write permission. Inputs, outputs and an example call.

> Index of these docs: https://wavegrain.com/developers/llms.txt

**Cancel a queued post.** Permission: `write`. Changes or removes saved work.

Stop a post that has not started sending (canCancel in get_post_status). For an automatic post this withdraws its slideshow's approval, stopping its other queued posts too. Cannot send or post anything.

## Inputs

| Input | Type | Required | Notes |
| --- | --- | --- | --- |
| `deliveryId` | string | yes | A delivery id from get_post_status. up to 200 characters |

The fields inside an object or a list are in the JSON Schema at [/developers/mcp-tools.json](/developers/mcp-tools.json).

## Returns

| Field | Type | Notes |
| --- | --- | --- |
| `deliveryId` | string | The delivery stopped. |
| `status` | "cancelled" | It will not post. |
| `approvalWithdrawn` | boolean | True when the slideshow's approval was taken back too, so it does not post again by itself. |

## Example call

Send it to `POST https://wavegrain.com/api/mcp` with an access key that has the `write` permission; [Authentication](/developers/authentication) shows how to make one.

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "cancel_queued_post",
    "arguments": {
      "deliveryId": "<deliveryId>"
    }
  }
}
```

The call shows only the required inputs, with placeholder values: put your own in.

## Related tools

- [`edit_tailored_slideshow`](/developers/mcp-tools/edit_tailored_slideshow): Edit a tailored slideshow
- [`restore_tailored_version`](/developers/mcp-tools/restore_tailored_version): Restore a tailored version
- [`update_caption`](/developers/mcp-tools/update_caption): Change a post caption
- [`create_account_group`](/developers/mcp-tools/create_account_group): Create an account group
- [`set_account_groups`](/developers/mcp-tools/set_account_groups): Put an account in groups
- [`update_group_settings`](/developers/mcp-tools/update_group_settings): Change group settings
- [All 79 tools](/developers/mcp-tools)
