Get call paths to function

From opensage-agent/opensage-adk · View interactive version

Get call paths to function is an AI agent skill from the GitHub repository opensage-agent/opensage-adk. Get a path in the call graph from a source function to a specified destination function in the codebase. It's very useful when you want to find call paths to a function.

How to use this skill

Skill file

Get Call Paths Tool

Get a path in the call graph from a source function to a specified destination function in the codebase.

Usage

python3 /bash_tools/static_analysis/get-call-paths-to-function/scripts/get_call_paths_to_function.py "DST_FUNCTION" \
  --dst-file "path/to/dst_file" \
  --src-function "SRC_FUNCTION" \
  --src-file "path/to/src_file"

Parameters

Return Value

Returns JSON text with a top-level key result containing call path info.

Requires Sandbox

neo4j, codeql, joern

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.