files_delete
Delete a file permanently from Pipedrive, removing it from all associated entities. Ideal for cleaning up old attachments and removing duplicate files.
Instructions
Delete a file from Pipedrive.
Permanently removes a file and its associations with entities.
Workflow tips:
Deleting a file removes it from all associated entities
This action cannot be undone
Consider using files_get first to verify the file
Deleted files may still appear in lists if include_deleted_files=true
Common use cases:
Remove file: { "id": 123 }
Clean up old attachments
Remove duplicate files
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": {
"id": "<id>"
},
"name": "files_delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ID of the file to delete |