search_by_date_tool
Locate notes in your Obsidian vault by creation or modification date. Specify a time frame or exact date to retrieve matching notes with timestamps, ideal for reviewing recent activity or finding notes from specific periods.
Instructions
Search for notes by creation or modification date.
When to use:
- Finding recently modified notes
- Locating notes created in a specific time period
- Reviewing activity from specific dates
When NOT to use:
- Content-based search (use search_notes)
- Finding notes by tags or path (use search_notes)
Returns:
Notes matching the date criteria with paths and timestamps
Input Schema
Name | Required | Description | Default |
---|---|---|---|
ctx | No | ||
date_type | No | Type of date to search by | modified |
days_ago | No | Number of days to look back from today | |
operator | No | Search operator for date matching | within |
Input Schema (JSON Schema)
{
"properties": {
"ctx": {
"default": null,
"title": "Ctx"
},
"date_type": {
"default": "modified",
"description": "Type of date to search by",
"enum": [
"created",
"modified"
],
"title": "Date Type",
"type": "string"
},
"days_ago": {
"default": 7,
"description": "Number of days to look back from today",
"examples": [
0,
1,
7,
30
],
"maximum": 365,
"minimum": 0,
"title": "Days Ago",
"type": "integer"
},
"operator": {
"default": "within",
"description": "Search operator for date matching",
"enum": [
"within",
"exactly"
],
"title": "Operator",
"type": "string"
}
},
"type": "object"
}