Get callee

From opensage-agent/OpenSage · View interactive version

Get callee is an AI agent skill from the GitHub repository opensage-agent/OpenSage. Tool to get the callee of a function in the codebase by function name and file path. It can help you traverse the callgraph and give you indirect calls.

How to use this skill

Skill file

Get Callee Tool

Tool to get the callee of a function in the codebase by function name and file path.

Usage

python3 /bash_tools/static_analysis/get-callee/scripts/get_callee.py "function_name" --file-path "relative/path/to/file.py"

Parameters

function_name (required, positional position 0)

Type: str

Function name to search for.

--file-path (optional, named parameter)

Type: str

Optional file path where the function is defined.

Return Value

Returns plain text output listing callees with their function names, file paths, line numbers, and call types.

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.