Read the diary
get_notesThe user's diary notes, three ways: note_id returns that one note in full; query searches title, body and tags and returns dated snippets; neither returns the newest notes, optionally inside a date range. These are diary entries, not training sessions (get_calendar and get_training_log have those). Searching is stemmed with a plain-text fallback, so 'numb' finds 'numbness'. Without note_id, long bodies are cut at 600 characters and marked body_truncated. Every note carries its date and date_spoken, so an answer can name the day it was written. All dates are the user's local calendar dates (YYYY-MM-DD) in their own time zone. Requires signing in.
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": "get_notes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max notes, default 20, max 100. | |
| query | No | Topic words to look for, e.g. 'foot numbness'. | |
| note_id | No | One note in full, by id. Ignores the other fields. | |
| end_date | No | Only notes on or before this local date, YYYY-MM-DD. Optional. | |
| start_date | No | Only notes on or after this local date, YYYY-MM-DD. Optional. |