Delete a run's files
delete_run_mediaDelete a finished run's media files in one step to free storage before the 7-day automatic erasure; the charge remains non-refundable.
Instructions
Delete a finished run's files at once; storage erases them after 7 days. The charge stays; nothing is refunded. Refused with run_not_finished, run_media_in_use (another unfinished run uses them) or deletion_held (ask support). An analyze_reference run loses its analysis too: a new one is paid. Free.
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": {
"run_id": "<run_id>"
},
"name": "delete_run_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run_id | Yes |