grep
Search a stored source or the whole corpus by regular expression when URL is omitted; returns matches with character offsets, capped for size.
Instructions
Query a stored source, or the whole corpus when url is omitted, with a regular
expression. Returns matches with character offsets; results are capped.
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": "grep"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| pattern | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||