Delete a post
delete_mediaPermanently delete an Instagram post, reel, story, or whole carousel via Meta's official API; only Facebook Login-connected accounts are supported, and deletion cannot be undone.
Instructions
Permanently delete a post, reel, story or whole carousel (single carousel items cannot be deleted). Only for accounts connected with Facebook Login (Meta's rule). Cannot be undone; the user confirms first.
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": {
"media_id": "<media_id>"
},
"name": "delete_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | Which connected account: @username or Instagram user ID. Omit to use the default account. | |
| media_id | Yes | ||
| confirmation_token | No | Only after the user approved: the confirmation_token returned by the previous call with identical arguments. |