Skip to main content
Glama

get_method_by_call_id

Retrieve method information associated with a specific call ID to analyze code structure and behavior in the Joern MCP Server.

Instructions

Get the method info by the call id which the call is in 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 core handler function for the 'get_method_by_call_id' tool, decorated with @joern_mcp.tool() for registration. It queries the Joern server remotely using the provided call_id and extracts the value from the response.
    @joern_mcp.tool() def get_method_by_call_id(call_id:str) -> str: """Get the method info by the call id which the call is in the method @param id: The id of the call @return: The method info of the call """ response = joern_remote(f'get_method_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