We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 672c349 commit 0ec80e0Copy full SHA for 0ec80e0
packages/agents-openai/src/tools.ts
@@ -199,7 +199,7 @@ export type HostedMCPTool = HostedTool & {
199
type: 'mcp';
200
serverLabel: string;
201
serverUrl: string;
202
- requireApproval?: 'never' | 'once' | 'always';
+ requireApproval?: 'never' | 'always';
203
};
204
205
@@ -213,7 +213,7 @@ export type HostedMCPTool = HostedTool & {
213
export function hostedMcpTool(options: {
214
215
216
217
}): HostedMCPTool {
218
return {
219
type: 'hosted_tool',
0 commit comments