firestore_missing_indexes
Lists the composite indexes Firestore would reject your app's queries for, with the exact entries to add to firestore.indexes.json. Saving that file puts them in force at once.
Instructions
The indexes production would refuse the app's queries for: each one a query needed that its database's index file (firestore.indexes.json) does not declare, with the entry to add under indexes or fieldOverrides, the first query that needed it (fields and operators, no values), how many did and when; saving the file puts it in force at once.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "firestore_missing_indexes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| database | No | Firestore database id; default (default) | |
| includeDeclared | No | Also list the indexes a saved file declares now; default only the missing ones |