create_region_tool
Create a region identifier for a specific code location by specifying file path and level: file, function, class, or lines.
Instructions
Create a region identifier for a specific code location. Use level='file' for whole file, 'function' for a function, 'class' for a class, or 'lines' for a line range.
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": {
"filePath": "<filePath>"
},
"name": "create_region_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | No | file | |
| lineEnd | No | ||
| filePath | Yes | ||
| funcName | No | ||
| className | No | ||
| lineStart | No |