list_indexes
Retrieve index information for a specified table in MySQL or MariaDB, optionally within a given schema.
Instructions
List indexes for a 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": "<table>"
},
"name": "list_indexes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | Table name | |
| database | No | Schema name (optional if MYSQL_DATABASE is set) |