Skip to main content
Glama

get_parent_classes_by_class_full_name

Retrieve parent class details, including full name, name, and ID, by providing the fully qualified name of a class in code review and security analysis workflows.

Instructions

Get the parent classes of a class

@param class_full_name: The fully qualified name of the class @return: The parent classes info of the class, including the full name, name and id

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
class_full_nameYes

Implementation Reference

  • The main handler function for the tool 'get_parent_classes_by_class_full_name'. It is registered via the @joern_mcp.tool() decorator and implements the logic by sending a query to the Joern server using joern_remote and parsing the response with extract_list.
    @joern_mcp.tool() def get_parent_classes_by_class_full_name(class_full_name:str) -> list[str]: """Get the parent classes of a class @param class_full_name: The fully qualified name of the class @return: The parent classes info of the class, including the full name, name and id """ response = joern_remote(f'get_parent_classes_by_class_full_name("{class_full_name}")') return extract_list(response)

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/sfncat/mcp-joern'

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