Built-in Actions
The SDK provides events for actions that interact with the Smallest platform—ending calls, transferring to humans, and more.
End Call
End the current call when the user is done:
The LLM will call this when the user says things like “thanks, bye” or “that’s all I needed.”
Transfer Call
Transfer to a human agent or another phone number:
Transfer Options
Hold Music
Example: Complete Agent
Tips
Guide end_call in the prompt
Tell the LLM when to end: “Call end_call when the user says goodbye or thanks.”
Always return from action tools
Even if the action just sends an event, return something (even None) so the LLM knows it succeeded.
Log transfers for review
Track transfer reasons to identify patterns and improve your agent.

