Skip to main content
Glama

lean_hover_info

Read-onlyIdempotent

Retrieve type signatures and documentation for symbols in Lean files to understand API functionality during theorem proving.

Instructions

Get type signature and docs for a symbol. Essential for understanding APIs.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_pathYesAbsolute path to Lean file
lineYesLine number (1-indexed)
columnYesColumn at START of identifier

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
infoYesType signature and documentation
symbolYesThe symbol being hovered
diagnosticsNoDiagnostics at this position

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/oOo0oOo/lean-lsp-mcp'

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