# Get Call Paths

> 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. Use when this capability is needed.

- Skill: `tomevault-io/get-call-paths` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add tomevault-io/get-call-paths`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tomevault-io/get-call-paths/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: tomevault-io (https://skillmd.com/u/tomevault-io)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/tomevault-io/get-call-paths

---


# Get Call Paths Tool

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

## Usage

```bash
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

- `dst_function_name` (positional): Destination function name.
- `--dst-file`: File path where the destination function is defined (optional).
- `--src-function`: Source function name (optional; default `LLVMFuzzerTestOneInput`).
- `--src-file`: File path where the source function is defined (optional).

## Return Value

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

## Requires Sandbox

neo4j, codeql, joern

---
> Source: [opensage-agent/opensage-adk](https://github.com/opensage-agent/opensage-adk) — distributed by [TomeVault](https://tomevault.io).
<!-- tomevault:4.0:skill_md:2026-06-21 -->

