get_document_symbols
Extract symbols like functions, classes, and variables from Python code to analyze structure and identify elements for navigation or documentation.
Instructions
Get all symbols in a Python document.
Returns document symbols including functions, classes, variables, etc.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Python code as string. | |
| python_path | No | Optional path to Python interpreter. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||