Skip to main content
Glama

lsp_document_symbols

Extract all defined symbols like functions, classes, and variables from a source file to analyze code structure and enable navigation.

Instructions

Get all symbols (functions, classes, variables, etc.) defined in a document.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_pathYesAbsolute path to the source file

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ProfessioneIT/lsp-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server