List outbound calls to external targets
list_external_callsEnumerate this project's recorded outbound-call candidates: SDK calls into declared dependencies, calls to declared external domains, and env-var URL bases, each with its service, file and line. Use it to inventory or audit what a service talks to outside itself; for an audit, start with view "targets" to see every distinct target with counts, then fetch call sites per target. Rows are candidates, not verified egress.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_external_calls"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | No | Your repo as owner/repo (git remote) or just the repo name. Resolves which Carrick project to query. | |
| view | No | "targets" returns one row per distinct (target, mechanism) with call-site counts, services, and sample operations instead of raw call sites. The audit entry point: read the targets first, then drill into each with the `target` filter. | |
| limit | No | Max rows per page (default 100, max 500). | |
| offset | No | Row offset into the inventory (default 0). Pass the `next_offset` from a previous call to page through. | |
| target | No | Case-insensitive substring of the target — the dependency name, hostname, or env-var name. Use it to narrow past framework and utility packages. | |
| project | No | Carrick project slug to query. Omit to auto-resolve via `repo`, or omit both when the workspace has one project. | |
| service | No | Filter to one service (fuzzy match by service name, repo name, or trailing segment). Omit for the whole project. | |
| mechanism | No | Filter by how the call was recorded: sdk (a call into a declared dependency), external_http (a declared external domain), env_var_url (a declared external env-var base). |