Remove a file uploaded for reports
remove_report_fileRemoves one file the workspace uploaded for its reports, by the id list_report_files gives (rup_...): the file and its stored bytes go for good. Only the person who uploaded it, or an owner or admin of the workspace, may remove it. While a report of the workspace still shows the file, nothing is removed and the answer is in-use with the ids of those reports: take the file out of them, or delete them, 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": {
"uploadId": "<uploadId>"
},
"name": "remove_report_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uploadId | Yes | The file's id from list_report_files (rup_...). | |
| workspace_id | No | Workspace id from whoami; omit when there is one. |