calculate_midpoint
Calculate geographic midpoint between two coordinates.
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": {
"lat1": "<lat1>",
"lon1": "<lon1>",
"lat2": "<lat2>",
"lon2": "<lon2>"
},
"name": "calculate_midpoint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat1 | Yes | Latitude of point 1 | |
| lat2 | Yes | Latitude of point 2 | |
| lon1 | Yes | Longitude of point 1 | |
| lon2 | Yes | Longitude of point 2 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| point1 | Yes | ||
| point2 | Yes | ||
| midpoint | Yes |