Delete a report
delete_reportDeletes a report in CodeGene for good: it leaves the Reports page, its public links stop working in the same step, and it cannot be undone. Only the person who created it and the workspace's owners and admins may delete it; anyone else is refused for their role, and a report the person cannot read is not found. Ask the person before deleting a report they did not ask you to delete.
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 (list_reports gives ids). | |
| workspace_id | No | Workspace id from whoami; omit when there is one. |