Convert coordinates
convert_coordinatesParse latitude and longitude and format them as decimal degrees or DMS.
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": {
"latitude": "<latitude>",
"longitude": "<longitude>",
"format": "<format>"
},
"name": "convert_coordinates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | Yes | Output coordinate format. | |
| latitude | Yes | Latitude as signed decimal degrees, decimal degrees with N/S (33.8688° S), degrees and decimal minutes, or DMS. Do not combine a sign with a hemisphere letter. | |
| longitude | Yes | Longitude as signed decimal degrees, decimal degrees with E/W (4.15° W), degrees and decimal minutes, or DMS. Do not combine a sign with a hemisphere letter. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | Yes | ||
| latitude | Yes | ||
| longitude | Yes |