find_in_file
Search the active file for a pattern and retrieve each match's line number, column, and text.
Instructions
Find all occurrences of pattern in the active file. Returns list of {line, col, text}.
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": {
"pattern": "<pattern>"
},
"name": "find_in_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pattern | Yes | ||
| case_sensitive | No | ||
| regex | No |