PocketBase MCP Server

by mabeldata
Verified

create_collection_migration

Generate a migration file to define and create a new PocketBase collection, including its schema, fields, and rules, for structured database management.

Instructions

Create a migration file specifically for creating a new PocketBase collection.

Input Schema

NameRequiredDescriptionDefault
collectionDefinitionYesThe full schema definition for the new collection (including name, id, fields, rules, etc.).
descriptionNoOptional description override for the filename.

Input Schema (JSON Schema)

{ "properties": { "collectionDefinition": { "additionalProperties": true, "description": "The full schema definition for the new collection (including name, id, fields, rules, etc.).", "required": [ "name", "id" ], "type": "object" }, "description": { "description": "Optional description override for the filename.", "type": "string" } }, "required": [ "collectionDefinition" ], "type": "object" }

You must be authenticated.

Other Tools from PocketBase MCP Server

Related Tools

ID: llc3xla20m