search_files
Searches file contents in a StackBlitz project by query, with options for regex, case-sensitive matching, and result limits.
Instructions
Search for content within files of a StackBlitz project
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": {
"projectRef": "<projectRef>",
"query": "<query>"
},
"name": "search_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Search query string | |
| regex | No | Treat query as regex | |
| maxResults | No | Maximum number of results | |
| projectRef | Yes | StackBlitz project ID or URL | |
| caseSensitive | No | Case-sensitive search |