Option 1: Await one action result
Usesdk.awaitAction when you want a single promise-based result tied to a chat.
Option 2: Subscribe to status transitions
Usesdk.subscribeToToolStatus for UI progress updates.
Option 3: Use AsyncToolChecker directly
For lower-level control, useAsyncToolChecker.
Descriptor fields
toolName: action key (swap,bridge,defiSupply,defiWithdraw)protocol: provider key (lifi,aave, …)- For
awaitAction:args - For
subscribeToToolStatus/AsyncToolChecker.check:descriptor
Polling config units
interval, retryThreshold, and maxDuration are seconds.