get_content
Access file content from an indexed vault. Retrieve the full file or a snippet with surrounding context around a matching line to locate relevant information quickly.
Instructions
Fetch the content of a file from the indexed vault.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | File path (absolute or relative to an indexed root) | |
| query | No | Search string to find the best-matching line (only used when snippet=True) | |
| snippet | No | If True, return a snippet around the best-matching line instead of the full file | |
| context_lines | No | Number of lines before and after the match to include (default 20) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||