pb_files_delete
Remove a specific file from a record field in PocketBase MCP Server by specifying the collection, record ID, field name, and filename. Simplify file management within your database.
Instructions
Delete a file from a record field
Input Schema
Name | Required | Description | Default |
---|---|---|---|
collection | Yes | Collection name or ID | |
fieldName | Yes | Field name that contains the file | |
filename | Yes | File name to delete | |
recordId | Yes | Record ID that owns the file |
Input Schema (JSON Schema)
{
"properties": {
"collection": {
"description": "Collection name or ID",
"type": "string"
},
"fieldName": {
"description": "Field name that contains the file",
"type": "string"
},
"filename": {
"description": "File name to delete",
"type": "string"
},
"recordId": {
"description": "Record ID that owns the file",
"type": "string"
}
},
"required": [
"collection",
"recordId",
"fieldName",
"filename"
],
"type": "object"
}