get_recent_positions
Fetch a pet's recent position history, including distance traveled and bounding box, with optional full list of coordinates.
Instructions
Get recent position history (breadcrumb trail) for a pet.
Args: device_id: The device_id from list_pets. hours: How many hours of history to fetch (default 24). include_points: If True, include the full list of position points. Set to False (default) to save context when you only need stats.
Returns a summary with point count, total distance, time range, and bounding box. If include_points is True, also returns the points array.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device_id | Yes | ||
| hours | No | ||
| include_points | No |