Skip to content

@uservane/openai-agents: 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.

AgentController

FunctionTool<unknown, { additionalProperties: false; properties: Record<string, never>; required: string[]; type: "object"; }, string>

import { createRequestUserFeedbackTool } from "@uservane/openai-agents";
import { Agent } from "@openai/agents";
const agent = new Agent({
name: "Support",
tools: [createRequestUserFeedbackTool(controller)],
});