terrain_slope
Calculate the slope gradient between two geographic points, including angle in degrees, percentage, and terrain classification.
Instructions
Calculate the slope (gradient) between two geographic points, including angle in degrees, percentage, and terrain classification.
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>",
"lng1": "<lng1>",
"lat2": "<lat2>",
"lng2": "<lng2>"
},
"name": "terrain_slope"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat1 | Yes | First point latitude in decimal degrees | |
| lat2 | Yes | Second point latitude in decimal degrees | |
| lng1 | Yes | First point longitude in decimal degrees | |
| lng2 | Yes | Second point longitude in decimal degrees |