---
id: 20260611-T0-07
title: "datasette-agent 0.2a0：工具支持交互式提问"
title_en: "datasette-agent 0.2a0 Adds Interactive User Queries"
url: https://ai.daily.yangsir.net/daily/20260611-T0-07
issue_date: 2026-06-11
publish_date: 2026-06-10T23:57:27.000Z
category: release
source_name: "Simon Willison"
source_url: https://simonwillison.net/2026/Jun/10/datasette-agent/#atom-everything
---

# datasette-agent 0.2a0：工具支持交互式提问

datasette-agent发布0.2a0版本更新，新增工具执行中向用户提问的功能。通过ToolContext对象，工具可使用context.ask_user方法提出是/否、多选或自由文本问题，大幅提升工具与用户的交互体验。此更新对需要用户实时输入的应用场景尤为重要。

## English Version

**datasette-agent 0.2a0 Adds Interactive User Queries**

datasette-agent 0.2a0 introduces the ability for tools to ask users questions mid-execution. The ToolContext object enables methods like context.ask_user for yes/no, multiple-choice, or free-text queries, significantly enhancing user-tool interaction for real-time input scenarios.

---

**来源**：[Simon Willison](https://simonwillison.net/2026/Jun/10/datasette-agent/#atom-everything)

**详情页**：https://ai.daily.yangsir.net/daily/20260611-T0-07

---

*智语观潮 · Daily — https://ai.daily.yangsir.net/llms.txt*