get_symbols
Extract and categorize symbols like functions, classes, and imports from files to analyze code structure and context within a project.
Instructions
Extract symbols from a file.
Args:
project: Project name
file_path: Path to the file
symbol_types: Types of symbols to extract (functions, classes, imports, etc.)
Returns:
Dictionary of symbols by type
Input Schema
Name | Required | Description | Default |
---|---|---|---|
file_path | Yes | ||
project | Yes | ||
symbol_types | No |
Input Schema (JSON Schema)
{
"properties": {
"file_path": {
"title": "File Path",
"type": "string"
},
"project": {
"title": "Project",
"type": "string"
},
"symbol_types": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Symbol Types"
}
},
"required": [
"project",
"file_path"
],
"title": "get_symbolsArguments",
"type": "object"
}