Dive statistics
logbook_statsCalculate PADI logbook statistics: dive count, total and average bottom time, deepest and longest dives, first/last dates; filter by date range or group by year, month, location, or dive type.
Instructions
Statistics of the PADI logbook: number of dives, total bottom time (minutes and h:mm), the deepest and the longest dive, average maximum depth and bottom time, first and last dive date. Optional date range (from/to, YYYY-MM-DD, inclusive) and grouping: none (default), year, month, location, dive_type or log_type. Depth in m or ft (see units).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "logbook_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Only dives on or before this date (YYYY-MM-DD) | |
| from | No | Only dives on or after this date (YYYY-MM-DD) | |
| units | No | Units of the numbers in this call and its answer: auto (the PADI logbook setting), metric (m, degrees C, bar, kg, litres) or imperial (ft, degrees F, psi, lb, cubic feet). Default: the server setting. | |
| group_by | No | Also give the numbers per year, month, location, dive type or log type (default none) |