manage_indexes
Create, delete, or list database indexes for PocketBase collections to optimize query performance and data retrieval.
Instructions
Manage collection indexes
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"collection": "<collection>",
"action": "<action>"
},
"name": "manage_indexes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Action to perform | |
| collection | Yes | Collection name | |
| index | No | Index configuration (for create) |