Search project code
projects_files_searchSearch text in a project, including uncommitted changes. Uses the live preview when it is running, otherwise the committed repository.
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": {
"project_id": "<project_id>",
"query": "<query>"
},
"name": "projects_files_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Literal text to search for in project files. | |
| project_id | Yes | UUID of a Bunstation project owned by the authenticated user. | |
| whole_word | No | Whether to match only complete words; defaults to false. | |
| max_results | No | Maximum number of matches to return; defaults to 40. | |
| case_sensitive | No | Whether letter casing must match; defaults to false. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| matches | Yes | ||
| truncated | Yes |