get_node_at_position
Locates the Abstract Syntax Tree (AST) node at a specific position in a code file, given project name, file path, and row-column coordinates. Returns node details or None if not found.
Instructions
Find the AST node at a specific position.
Args:
project: Project name
path: File path relative to project root
row: Line number (0-based)
column: Column number (0-based)
Returns:
Node information or None if not found
Input Schema
Name | Required | Description | Default |
---|---|---|---|
column | Yes | ||
path | Yes | ||
project | Yes | ||
row | Yes |
Input Schema (JSON Schema)
{
"properties": {
"column": {
"title": "Column",
"type": "integer"
},
"path": {
"title": "Path",
"type": "string"
},
"project": {
"title": "Project",
"type": "string"
},
"row": {
"title": "Row",
"type": "integer"
}
},
"required": [
"project",
"path",
"row",
"column"
],
"title": "get_node_at_positionArguments",
"type": "object"
}