search_by_tag
Find notes in an Obsidian vault that contain specified tags, using any or all match logic to locate tagged content in frontmatter or inline.
Instructions
Find all notes that contain one or more specified tags (frontmatter or inline #tag).
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": {
"tags": "<tags>"
},
"name": "search_by_tag"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | Yes | Tags to search for (without the # prefix). | |
| match | No | 'any': at least one tag matches. 'all': all tags must match. Defaults to 'any'. |