pocketbase-mcp-server
create_collection
Create a new collection in PocketBase
Input Schema
Name | Required | Description | Default |
---|---|---|---|
name | Yes | Collection name | |
schema | Yes | Collection schema fields |
Input Schema (JSON Schema)
{
"properties": {
"name": {
"description": "Collection name",
"type": "string"
},
"schema": {
"description": "Collection schema fields",
"items": {
"properties": {
"name": {
"type": "string"
},
"options": {
"type": "object"
},
"required": {
"type": "boolean"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
}
},
"required": [
"name",
"schema"
],
"type": "object"
}