Skip to main content
Glama

lldb_version

Retrieve version and build details for the LLDB debugger to verify installation and compatibility for debugging C/C++ programs.

Instructions

Get LLDB version information.

Returns:
    str: LLDB version and build information

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The main handler function for the 'lldb_version' tool. It executes the LLDB 'version' command using the helper _run_lldb_command and formats the output as markdown.
    async def lldb_version() -> str:
        """Get LLDB version information.
    
        Returns:
            str: LLDB version and build information
        """
        result = _run_lldb_command("version")
    
        return f"## LLDB Version\n\n```\n{result['output'].strip()}\n```"
  • The registration of the 'lldb_version' tool using the MCP @mcp.tool decorator, including metadata annotations for the tool's behavior.
    @mcp.tool(
        name="lldb_version",
        annotations={
            "title": "LLDB Version",
            "readOnlyHint": True,
            "destructiveHint": False,
            "idempotentHint": True,
            "openWorldHint": False,
        },
    )

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/benpm/claude_lldb_mcp'

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