get_file_entities
Retrieve all code entities defined in a file, including classes, functions, and variables, to analyze project structure and dependencies.
Instructions
Get all entities (classes, functions, variables) defined in a specific file.
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": "get_file_entities"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | No | Project name or path | |
| filePath | Yes | File path (partial match, e.g. 'User.php' or 'src/models') |