upload_file
Upload file content as a string to a specified field in a PocketBase collection record using the required collection, record ID, field name, file name, and content string.
Instructions
Upload a file (provided as content string) to a PocketBase collection record field.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
collection | Yes | The name or ID of the collection. | |
fileContent | Yes | The raw content of the file as a string. | |
fileField | Yes | The name of the file field in the collection schema. | |
fileName | Yes | The desired name for the uploaded file (e.g., "report.txt"). | |
recordId | Yes | The ID of the record to attach the file to. |
Input Schema (JSON Schema)
You must be authenticated.
Other Tools from PocketBase MCP Server
- add_field_migration
- apply_all_migrations
- apply_migration
- create_collection_migration
- create_migration
- create_record
- download_file
- fetch_record
- get_collection_schema
- get_log
- get_logs_stats
- list_collections
- list_logs
- list_migrations
- list_records
- revert_migration
- revert_to_migration
- set_migrations_directory
- update_record
- upload_file
Related Tools
- @DynamicEndpoints/advanced-pocketbase-mcp-server
- @mabeldata/pocketbase-mcp
- @DynamicEndpoints/pocketbase-mcp-server
- @mabeldata/pocketbase-mcp
- @mabeldata/pocketbase-mcp