estimate_query_cost
Estimate SQL query execution costs for supported databases to optimize performance and resource allocation.
Instructions
Estimate the cost of running a SQL query (supported databases only).
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": {
"database_id": "<database_id>",
"sql": "<sql>"
},
"name": "estimate_query_cost"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| database_id | Yes | ||
| sql | Yes | ||
| schema | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||