search_entries
Search Day One journal entries by keyword substring, with optional journal filtering and result limits, to locate matching content sorted newest first.
Instructions
Search journal entries using simple keyword matching.
This performs a basic substring search - it finds entries containing the query text anywhere in the content. Case-insensitive.
Examples: - "run" matches "running", "return", "run" - "morning coffee" matches entries whose text contains that substring
Limitations: - No boolean operators (AND, OR, NOT) - No relevance ranking - results sorted by date (newest first) - No fuzzy/typo tolerance - Prefer fts_search for anything beyond a simple substring lookup
Args: query: Text to search for (simple substring match) limit: Maximum number of entries to return (1-50, default 20) journal: Optional journal name to filter by full_text: If True, returns complete entry text. If False, truncates to ~500 chars (default False)
Returns: Formatted list of matching entries, sorted by date (newest first)
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": {
"query": "<query>"
},
"name": "search_entries"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | Yes | ||
| journal | No | ||
| full_text | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |