gograph_httpcalls
Identify all outbound HTTP client calls in a Go codebase, including method, URL, and calling function. Filter by method, URL, or function name to audit external API dependencies and outbound traffic.
Instructions
Find all outbound HTTP client calls detected in the codebase via net/http package-level functions: http.Get, http.Post, http.PostForm, http.Head. The MCP server checks freshness before this call and refreshes in the current requested analysis mode; precise and precise_fallback graphs retry CHA/SSA after source changes. Read-only; no side effects. Optional term filters by method, URL, or function name substring. WHEN TO USE: When auditing external API dependencies, understanding which services your code calls, or identifying all outbound HTTP traffic. NOT TO USE: For HTTP server route definitions (use gograph_routes). RETURNS: List of HTTP method, URL, static path segments, dynamic flag, calling function, and file/line; empty when no HTTP client calls match.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| term | No | Optional filter term (matches method, URL, or function name — e.g., 'POST' or 'api.example.com') |