Delete File
openai_delete_fileDeletes a file permanently from OpenAI storage and removes it from all vector stores. This action is irreversible.
Instructions
Permanently delete a file and remove it from all vector stores.
This action cannot be undone. The file will be deleted from OpenAI's storage.
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": {
"file_id": "<file_id>"
},
"name": "openai_delete_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_id | Yes | The ID of the file to delete. |