/** * ask_question 可选 Tool。 * * 该 Tool 只负责把模型的结构化 Tool Call 映射到当前 Session 的 Question * Interaction。Session 是交互状态和生命周期的唯一拥有者;Tool 等待 Session 返回终态, * 再把用户答案作为 Tool Result 交回同一 Turn 的后续模型 Step。 */ import type { AskQuestionsToolOutput } from "../../types/tools/ask/AskQuestionsTool.js"; import type { ActionResult } from "../../types/action/ActionResult.js"; /** * 由调用方显式注册、按当前 Session Turn 上下文执行的提问 Tool。 * * @example * ```ts * new Agent({ * tools: { * ask_question: AskQuestionsTool, * }, * }); * ``` */ export declare const AskQuestionsTool: import("ai").Tool<{ title: string; questions: ({ question: string; type: "text"; } | { question: string; type: "single_select" | "multi_select"; options: { value: string; label: string; description?: string | undefined; }[]; })[]; }, ActionResult>; //# sourceMappingURL=AskQuestionsTool.d.ts.map