discard_drafts
Batch-delete pending_review drafts by ID list or project ID to clear drafts. Deletes only pending_review rows, returns deleted count and skipped IDs.
Instructions
Batch-delete pending_review drafts by ids, or by projectId to wipe every pending_review draft in the project. Only pending_review rows are deleted; any other status silently excluded. Returns the deleted count and any skipped ids. Preview with list_drafts.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "discard_drafts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | No | Outreach log ids to discard. Mutually exclusive with projectId. | |
| projectId | No | Project name or ID. Mutually exclusive with ids. |