get_schema
Retrieve dataset schema including columns and data types to prepare accurate queries on San Francisco's open data portal.
Instructions
Get the schema (columns and data types) for a specific dataset. Call this before writing queries to learn the correct field names.
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": {
"dataset_id": "<dataset_id>"
},
"name": "get_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dataset_id | Yes | Dataset 4x4 ID (format: xxxx-xxxx) |