worker_grep
Search file contents with ripgrep across a worker's authorized workdir parent tree, returning file:line:match results for agent tasks.
Instructions
Search file contents (ripgrep) within worker's authorized workdir parent tree. Returns file:line:match.
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": {
"workdir": "<workdir>",
"pattern": "<pattern>"
},
"name": "worker_grep"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max | No | ||
| glob | No | ||
| pattern | Yes | ||
| workdir | Yes |