get_call_code_by_id
Retrieve source code for a specific call node using its unique identifier from the loaded CPG, enabling targeted code review and analysis.
Instructions
Get the source code of a specific call node from the loaded CPG by the call id
@param id: The unique identifier of the call node, the id is a Long int string, like '111669149702L'
@return: The source code of the specified call
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"code_id": "<code_id>"
},
"name": "get_call_code_by_id"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code_id | Yes |