gridref_to_latlon
Convert Ordnance Survey grid references to WGS84 latitude and longitude, choosing the square centre or southwest corner for accurate mapping.
Instructions
Convert an OS grid reference to WGS84 latitude/longitude.
Args: grid_ref: e.g. "SU 123 456", "NN166712", "TQ3080" or numeric "412300,145600". centre: return the centre of the referenced square (True) or its SW corner (False).
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": {
"grid_ref": "<grid_ref>"
},
"name": "gridref_to_latlon"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| centre | No | ||
| grid_ref | Yes |