lldb_version
Retrieve LLDB debugger version and build details to verify compatibility and identify debugging capabilities for C/C++ programs.
Instructions
Get LLDB version information.
Returns:
str: LLDB version and build information
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- lldb_mcp_server.py:1285-1293 (handler)The handler function that implements the lldb_version tool. It executes the LLDB 'version' command using the _run_lldb_command helper 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```"
- lldb_mcp_server.py:1275-1284 (registration)The @mcp.tool decorator that registers the lldb_version tool with the MCP server, specifying its name and annotations.@mcp.tool( name="lldb_version", annotations={ "title": "LLDB Version", "readOnlyHint": True, "destructiveHint": False, "idempotentHint": True, "openWorldHint": False, }, )