query_history_compare_candidates
Find high-cost read-only queries that read a given table, replace its name with a candidate table, and compare candidates without executing SQL.
Instructions
The heaviest read-only queries in the history that read table (database.table), with the table name
replaced by new_table (nothing is run).
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>",
"new_table": "<new_table>"
},
"name": "query_history_compare_candidates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| table | Yes | ||
| new_table | Yes |