Skip to content

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")
ParameterTypeDescription
namestringSymbol to inspect
compactbooleanReturn signatures only
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)

Use code_context to get callers + callees in a single call:

code_context(name="OrderService.checkout", compact=true)