get_collection_fields
Decode a collection's indexed record field codes into readable labels like Father's Name and Event Place before interpreting its records.
Instructions
Decode the field codes a collection's indexed records use.
An indexed record labels its values with codes rather than words —
PR_FTHR_NAME, EVENT_PLACE, PR_NAME_SURN_ORIG. The codes are
per-collection, and this is the dictionary that turns them into "Father's
Name", "Event Place" and so on. Read it before interpreting a record from
a collection you have not worked with.
Works without a token.
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": {
"collection_id": "<collection_id>"
},
"name": "get_collection_fields"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| collection_id | Yes | Numeric collection id, e.g. '1417683' for the 1880 US census. Find one with search_collections. |