run_sql
Run read-only SQL queries on OpenStreetMap PostGIS tables to retrieve geographic features and perform spatial analysis.
Instructions
Run a single read-only SELECT/WITH query against the OSM tables.
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": {
"sql_text": "<sql_text>"
},
"name": "run_sql"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | No | ||
| sql_text | Yes |