Search repository documents
searchFind relevant code files and documents in indexed repositories using natural language, identifiers, error text, or file paths. Returns document IDs for detailed retrieval.
Instructions
Search indexed repository files. This standard read-only search tool is compatible with ChatGPT company knowledge and returns document IDs for fetch.
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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Natural-language, identifier, error text, or path query. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| results | Yes |