list_indexes
Lists all indexes for a specified MySQL table, optionally within a chosen database, to help inspect schema and understand table indexing.
Instructions
Lists all indexes for a specific table.
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": {
"table_name": "<table_name>"
},
"name": "list_indexes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| database | No | Optional: specific database name | |
| table_name | Yes | Name of the table |