search
Locate files and match text patterns across a workspace with grep or glob; read-only access for coding agents.
Instructions
Search the workspace (grep or glob). Read-only.
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": {
"mode": "<mode>",
"pattern": "<pattern>"
},
"name": "search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | ||
| path | No | ||
| pattern | Yes |