gograph_endpoint
Audit HTTP route endpoints by route pattern, path fragment, or handler symbol. Returns methods, paths, handler signatures, and bodies.
Instructions
Audit and analyze HTTP route endpoints, handlers, and anonymous closure bodies. BEHAVIOR & SAFETY: This is a 100% local, read-only static analysis tool. It has no side effects, requires no authorization or credentials, has no rate limits, and performs zero destructive modifications. USAGE GUIDELINES: Call this tool to review HTTP interface definitions, verify request flow bindings, or audit handler implementations. Do NOT use for internal Go functions (use gograph_source instead). COMPLETENESS: Returns HTTP methods, paths, handler signatures, and handler bodies. Example package: 'cmd/gograph'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | BFS depth for call chain traversal (default: 5) | |
| query | Yes | Route pattern ("POST /api/users"), path fragment ("/users"), or handler symbol name ("CreateUser") |