trace_usage
Traces client code to detect API calls including MCP tool calls, HTTP requests, and GraphQL hooks, identifying how properties are accessed on responses.
Instructions
Trace how client code calls APIs. Detects: MCP callTool(), fetch/axios HTTP calls, Apollo Client hooks (useQuery/useMutation), Python requests/aiohttp/httpx, and tracks property access patterns on responses.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rootDir | Yes | Root directory of client/consumer source code | |
| include | No | Glob patterns to include | |
| exclude | No | Glob patterns to exclude |