Uploads Delete File
uploads_delete_filePermanently deletes a temporary Workspace Files upload from the MCP server's upload area to free quota before expiry; Google Drive is not touched.
Instructions
App-only callback that permanently deletes one of the user's Workspace Files uploads from the MCP server's temporary upload area, freeing quota before the upload expires; Google Drive is not touched (for Drive files use drive_delete_file). Models cannot call it: uploads expire on their own, and the extended tier's get_mcp_apps_diagnostics uses it for its self-test. Returns status 'deleted', or 'not_found' when the ID is unknown or already expired, with the name.
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": {
"name": "<name>"
},
"name": "uploads_delete_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Upload ID (upl_...): the upload_id (also name) of a file listed by uploads_list_files. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Upload ID requested for deletion. | |
| status | Yes | Whether the upload was deleted or not found. |