- Python
- TypeScript
call.set_task() directs the agent toward a new goal mid-call. It accepts an objective, an ordered checklist of steps, and a task ID for binding completion handlers.signature
Full reference: See the Task page for parameter details, checklist item types, and a complete example.