List dives
logbook_list_divesList and filter a user's PADI logbook dives by date, type, status, or search text; sort by date, depth, or bottom time and paginate results with unit options.
Instructions
List the dives of the user's PADI logbook, newest first (sort=max_depth: deepest first, sort=bottom_time: longest first). Returns {total, dives, next_offset, units}; each dive has its id (the dive_id of the other tools), title, date, location, type, status, depth and bottom time, and locked=true when it cannot be changed. Filters: log_type (Recreational or Training) or status (Draft, Publish, Pending, Resubmit, Verified, QR Code Verified), a date range (from/to, YYYY-MM-DD, inclusive) and query (text in the title, location or buddies). Use offset=next_offset for the next page. Depth is in m or ft (see units), bottom time in minutes. Dives without a depth or time come last when sorted by them. Use logbook_get_dive for every detail of one dive.
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_list_dives"
}
}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) | |
| sort | No | Order, always descending: date (newest first, default), max_depth (deepest first) or bottom_time (longest first) | |
| limit | No | Dives per page, 1-100 (default 15) | |
| query | No | Only dives with this text in the title, location or buddies | |
| 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. | |
| offset | No | Dives to skip (use next_offset of the previous page) | |
| status | No | Only dives with this status: Draft, Publish (Logged), Pending (Waiting for verification), Resubmit (Sent back by the PADI Pro), Verified, QR Code Verified (Verified with a QR code) | |
| log_type | No | Only these dives: Recreational, Training |