create_collection
Define a new collection in PocketBase by specifying its name, type, fields, and access rules, enabling structured data storage and management via MCP Server.
Instructions
Create a new collection in PocketBase note never use created and updated because these are already created
Input Schema
Name | Required | Description | Default |
---|---|---|---|
createRule | No | API rule for creating records | |
deleteRule | No | API rule for deleting records | |
fields | Yes | List with the collection fields | |
listRule | No | API rule for listing and viewing records | |
name | Yes | Unique collection name (used as a table name for the records table) | |
passwordAuth | No | Password authentication options | |
type | No | Type of the collection | base |
updateRule | No | API rule for updating records | |
viewQuery | No | SQL query for view collections | |
viewRule | No | API rule for viewing a single record |