get_schema
Retrieve real column names and data types for a parquet file using its hf:// URI. Use it to verify field names before running SQL queries when no schema is documented.
Instructions
Return the real column names and types for a parquet file, given the
hf:// URI you got from list_catalog. Use this before run_sql if
you're not sure a field exists -- the plain court-judgment files don't
have a schema documented anywhere.
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": {
"file_uri": "<file_uri>"
},
"name": "get_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_uri | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||