Skip to main content
Glama
sfncat
by sfncat

get_referenced_method_full_name_by_call_id

Retrieve method information for a specific call ID to identify referenced methods during code analysis and security review.

Instructions

Get the method info by the call id which the call is referenced the method

@param id: The id of the call
@return: The method info of the call

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
call_idYes

Implementation Reference

  • The handler function decorated with @joern_mcp.tool(), which registers and implements the tool. It queries the Joern server remotely with the specific query to retrieve the full name of the referenced method by the given call_id.
    @joern_mcp.tool()
    def get_referenced_method_full_name_by_call_id(call_id:str) -> str:
        """Get the method info by the call id which the call is referenced the method
        
        @param id: The id of the call
        @return: The method info of the call
        """
        response =  joern_remote(f'get_referenced_method_full_name_by_call_id("{call_id}")')
        return extract_value(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