Searchtext
SearchTextSearch for a text pattern within a file and return matching lines with line numbers and text as JSON. Supports optional case-insensitive matching.
Instructions
Search text within a file; return JSON array [{line, 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>",
"path": "<path>"
},
"name": "SearchText"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| pattern | Yes | ||
| case_insensitive | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |