set_task()
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
call.set_task(
task_id: str,
objective: str = "",
checklist: list[Field | Say | str] | None = None,
completion_criteria: str = "",
)Full reference: See the Task page for parameter details, checklist item types, and a complete example.
Questions? hi@goguava.ai
call.set_task(
task_id: str,
objective: str = "",
checklist: list[Field | Say | str] | None = None,
completion_criteria: str = "",
)