load_geodata
Download and cache geospatial resources (SHP, KML, GeoJSON) into DuckDB with spatial support. Use force_refresh to re-download cached data.
Instructions
Download and cache a geospatial resource (SHP, KML, GeoJSON) into DuckDB with spatial support.
Args: resource_id: Prefixed resource ID (e.g. "toronto:abc123") or bare ID force_refresh: Re-download even if cached
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": {
"resource_id": "<resource_id>"
},
"name": "load_geodata"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| resource_id | Yes | ||
| force_refresh | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |