search_repo
Search repository file contents for a query to find matching code or text, executed in a sandbox with time and match limits.
Instructions
Search for query within files under the repository root.
Executes a Python search script inside the sandbox to find matches.
Limited to a modest time budget and maximum match count.
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": {
"workspace_id": "<workspace_id>",
"query": "<query>"
},
"name": "search_repo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| globs | No | ||
| query | Yes | ||
| workspace_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||