Skip to main content
Glama

lean_declaration_file

Locate the declaration file for a specific symbol in Lean code to understand its definition and usage context.

Instructions

Get file where a symbol is declared. Symbol must be present in file first.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_pathYesAbsolute path to Lean file
symbolYesSymbol (case sensitive, must be in 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/oOo0oOo/lean-lsp-mcp'

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