search.content
Find substrings in markdown files and view matching lines with surrounding context, enabling precise content retrieval and targeted edits.
Instructions
Substring search across markdown files. Returns hits with surrounding context and per-line hashes (each hit can be surgically rewritten with str_replace).
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": {
"query": "<query>"
},
"name": "search.content"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | Yes | ||
| vault | No | ||
| offset | No | ||
| _budget | No | Optional per-call budget overrides. Each field overrides the server default for this call only. 0 = unlimited. | |
| directory | No | ||
| contextLines | No |