@uservane/openai-agents: createRequestUserFeedbackTool
Function: createRequestUserFeedbackTool()
Section titled “Function: createRequestUserFeedbackTool()”createRequestUserFeedbackTool(
controller):FunctionTool<unknown, {additionalProperties:false;properties:Record<string,never>;required:string[];type:"object"; },string>
Defined in: @[email protected]_@[email protected]_ws@[email protected]__react@19.2.3/node_modules/@uservane/openai-agents/dist/index.d.ts:23
Build an OpenAI Agents tool() for in-conversation feedback.
Only effective when the issuer minted with allowModelRequested (amr) and bound the token. Refuses while a task is open; never throws into the loop.
Parameters
Section titled “Parameters”controller
Section titled “controller”Returns
Section titled “Returns”FunctionTool<unknown, { additionalProperties: false; properties: Record<string, never>; required: string[]; type: "object"; }, string>
Example
Section titled “Example”import { createRequestUserFeedbackTool } from "@uservane/openai-agents";import { Agent } from "@openai/agents";
const agent = new Agent({ name: "Support", tools: [createRequestUserFeedbackTool(controller)],});