find_endpoint_callers
Trace an HTTP endpoint to its handler and all upstream callers across repository code. Map request flows from route definitions to invoked methods.
Instructions
Find the handler method for an endpoint and all upstream callers.
Args:
http_method: HTTP verb — GET, POST, PUT, DELETE, or PATCH (case-insensitive).
path_pattern: Exact path of the endpoint, e.g. ``/api/users/{id}``.
Returns:
List of dicts with keys ``role`` (``"handler"`` or ``"caller"``),
``fqn``, ``file_path``, ``line_start``.
Empty list if the endpoint is not found.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| http_method | Yes | ||
| path_pattern | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |