pocketbase-mcp-server
manage_indexes
Manage collection indexes
Input Schema
Name | Required | Description | Default |
---|---|---|---|
action | Yes | Action to perform | |
collection | Yes | Collection name | |
index | No | Index configuration (for create) |
Input Schema (JSON Schema)
{
"properties": {
"action": {
"description": "Action to perform",
"enum": [
"create",
"delete",
"list"
],
"type": "string"
},
"collection": {
"description": "Collection name",
"type": "string"
},
"index": {
"description": "Index configuration (for create)",
"properties": {
"fields": {
"items": {
"type": "string"
},
"type": "array"
},
"name": {
"type": "string"
},
"unique": {
"type": "boolean"
}
},
"type": "object"
}
},
"required": [
"collection",
"action"
],
"type": "object"
}