cancel_scheduled_post
Cancel a scheduled post. DESTRUCTIVE: Requires confirm: true. Deletes post content and attachments permanently. Pre-automation templates are preserved and can be reused. Can only cancel pending posts.
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": {
"post_id": "<post_id>",
"confirm": "<confirm>"
},
"name": "cancel_scheduled_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| act_as | No | APEX+ or admin act_as (optional): operate this tool AS one of your managed profiles — pass that profile's LeadShark account email (see list_profiles). Requires an active delegation from the profile owner plus an APEX+ plan or admin act_as enabled by LeadShark (which runs on the profile's own plan); anything else is refused with a reason, never silently redirected. The action runs under the managed profile's own budgets, approval queue, and action log. With a Team key, act_as is required on every call and must be one of the key's accounts (list_profiles); the call must also be within the permission groups the key has on that account, or it's refused with permission_missing. Hourly/daily limits are that profile's own. | |
| confirm | Yes | REQUIRED: Must be true to confirm cancellation. Post content and attachments will be deleted, but pre-automation templates are preserved. | |
| post_id | Yes | UUID of the scheduled post to cancel |