search_code
Search Nuxt project source files by substring or regex to return matching files with line and column numbers plus surrounding context lines.
Instructions
Search project source files for a substring or regex. Returns matching files with line/column numbers and surrounding context lines.
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_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Substring or regex to search for | |
| fileTypes | No | Optional file extensions, e.g. ["vue", "ts"] | |
| maxResults | No | Maximum number of results (default 50) |