@openai/agents-core
Version:
The OpenAI Agents SDK is a lightweight yet powerful framework for building multi-agent workflows.
5 lines (4 loc) • 329 B
TypeScript
import type { Agent } from '../agent';
import type { ToolAllowedCaller } from '../tool';
import type * as protocol from '../types/protocol';
export declare function ensureToolCallerAllowed(toolCall: protocol.ToolCallItem, allowedCallers: readonly ToolAllowedCaller[] | undefined, toolName: string, agent: Agent<any, any>): void;