Skip to main content

使用者輸入請求

設定 onUserInputRequest handler 後,agent 便可透過 ask_user 工具向使用者提問。

UserInputRequest 類別

代表來自 agent 的使用者輸入請求。

UserInputResponse 類別

對使用者輸入請求的回應。

實務範例

在互動式指令中使用的情境。
最新資訊請參考 GitHub 儲存庫
最後修改於 2026年8月2日