search_project
Find text in an attached Overleaf project's files and return matching lines with file names and line numbers, with optional regex, glob filters, and case-insensitive matching.
Instructions
Search the text files of the attached project. Returns matching lines with file and line number.
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": {
"pattern": "<pattern>"
},
"name": "search_project"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| regex | No | Interpret pattern as a Python regular expression. | |
| pattern | Yes | Text to find. Treated literally unless regex=true. | |
| file_glob | No | Only search files matching this glob, e.g. '*.tex' or 'chapters/*'. | |
| ignore_case | No | ||
| max_results | No |