Skip to main content
Glama

lsp_goto_definition

Navigate to symbol definitions in code by providing file path, line, and column. Returns the exact location of definitions for semantic code navigation.

Instructions

Navigate to the definition of a symbol at the given position. Returns file path, line, and column of the definition.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_pathYesAbsolute path to the source file
lineYesLine number (1-indexed)
columnYesColumn number (1-indexed)

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