getState
Retrieve a state or province record by location ID. Use this read-only operation to get the exact state details from the Brilliant Directories directory platform.
Instructions
Get a single state/province - Fetch one state row by location_id. Read-only.
Required: location_id (path). Note: location_states PK is location_id (correctly spelled, unlike location_cities.locaiton_id).
Returns: { status: "success", message: [{...record}] }.
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": {
"location_id": "<location_id>"
},
"name": "getState"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| location_id | Yes |