get_pet_distance_from_home
Calculate how far your pet is from home by providing the device ID. Returns distance in meters along with home and current coordinates.
Instructions
Get how far a pet currently is from its home location.
Args: device_id: The device_id from list_pets.
Returns distance in metres, plus the home and current 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": {
"device_id": "<device_id>"
},
"name": "get_pet_distance_from_home"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device_id | Yes |