Summary: The datasette-agent 0.2a0 release introduces a ToolContext object enabling tools to call await context.ask_user(...) for yes/no, multiple-choice, or free-text questions. Unanswered questions suspend the agent turn and render as a form in the chat UI, persisting to the database. Once a user responds, the tool re-executes from the top, replaying stored answers to resume execution.
Why it matters: This pattern simplifies building robust human-in-the-loop interactions without losing agent state across server restarts. Developers should watch this pattern for handling complex multi-step tool logic that requires user confirmation.