schema_explain_tool
Run EXPLAIN on SQL profiles to generate explain output files. Optionally execute seed SQL before each EXPLAIN.
Instructions
Run EXPLAIN for each profile in query_profiles_json (JSON: name -> SQL). Optional seed_sql_json (JSON array of SQL) runs before EXPLAIN. Writes explain_.txt.
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": "schema_explain_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| schema_entity_id | No | schema_entity | |
| query_profiles_json | No | {} | |
| seed_sql_json | No | [] | |
| root_dir | No | ||
| artifacts_dir | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||