Obsidian Search Notes
obsidian_search_notesSearches the notes of an Obsidian vault by text (query: note title and text, case-insensitive), by tag (tag: inline #tags and frontmatter tags; a tag also matches its nested tags), or both. Returns each note's path inside the vault, title, first matching line and tags, sorted by path, limit per page; when has_more is true, pass next_offset as offset for the next page. Reads the Markdown files: Obsidian does not need to be running.
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": "obsidian_search_notes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | Tag to match, with or without #. Optional when `query` is given. | |
| limit | No | Notes per page (default 20, max 100). | |
| query | No | Text to find in note titles and text. Optional when `tag` is given. | |
| vault | No | Vault name or id from obsidian_list_vaults. Optional when there is only one vault. | |
| offset | No | Notes to skip (default 0): the next_offset of the previous page. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | ||
| vault | Yes | ||
| results | Yes | ||
| has_more | Yes | ||
| next_offset | No | ||
| notes_truncated | No | True when the vault has more notes than one search scans. |