search_code
Search for text matches in a read-only code workspace by specifying a query and optional relative path.
Instructions
Search text matches inside the configured read-only workspace root.
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": {
"query": "<query>"
},
"name": "search_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Relative directory path inside the workspace root. | . |
| query | Yes | Search text. |