get_note_paths
Filter notes by content and tags to retrieve matching file paths, with AND/OR logic for inclusive or exclusive queries.
Instructions
Get a list of note paths that match the filter criteria using zk CLI.
Args: include_str (list[str]): Filter notes by strings contained in content or filename include_str_operand (Literal['AND', 'OR']): Logical operator applied to multiple include_str filters ('AND' or 'OR') exclude_str (list[str]): Exclude notes containing these strings in content or filename include_tags (list[str]): Filter to notes with specified tags include_tags_operand (Literal['AND', 'OR']): Logical operator applied to multiple include_tags ('AND' or 'OR') exclude_tags (list[str]): Exclude notes with specified tags
Returns: str: JSON string containing a list of note file paths and title information matching the filter criteria.
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_note_paths"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| include_str | No | ||
| include_str_operand | No | AND | |
| exclude_str | No | ||
| include_tags | No | ||
| include_tags_operand | No | AND | |
| exclude_tags | No |