Delete report
delete-reportDelete a report that has not been filed, with its generated facts.
WHEN TO USE:
To remove a draft or under-review report that is wrong or no longer needed
To clear an abandoned draft before creating a new report for the same period
NOTES:
Refused for a filed or archived report: filing makes it a record, and a record is archived, not deleted. Archiving and unarchiving are done by a person
A generated draft can be deleted; generation does not lock a report, filing does
A report's open columns follow the ledger on their own; to change its periods, use regenerate-report instead
Refused while the report is shared to other graphs; revoke the shares first
Only the report's author can delete it
RETURNS: deleted: true and the report id.
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": {
"report_id": "<report_id>"
},
"name": "delete-report"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| report_id | Yes | The report to delete |