get_method_by_call_id
Retrieve method information containing a specific call by providing the call identifier for code analysis and security review.
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
| Name | Required | Description | Default |
|---|---|---|---|
| call_id | Yes |
Implementation Reference
- server_tools.py:160-169 (handler)The handler function decorated with @joern_mcp.tool(), implementing the 'get_method_by_call_id' tool. It queries the Joern server remotely with the call_id and extracts the method information using helper functions.@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)