code_callees
code_callees returns every function, method, or external call made by the given symbol. The inverse of code_callers.
code_callees(name="OrderService.checkout")Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
name | string | Symbol to inspect |
compact | boolean | Return signatures only |
Output
Section titled “Output”OrderService.checkout → 3 callees PaymentService.charge (src/services/payment.ts:18) InventoryService.reserve (src/services/inventory.ts:91) NotificationService.send (src/services/notify.ts:33)Combined view
Section titled “Combined view”Use code_context to get callers + callees in a single call:
code_context(name="OrderService.checkout", compact=true)