[Go to site: main page, start]

ADK for TypeScript: API Reference
    Preparing search index...

    Interface ToolCallPolicyContext

    Context passed to a policy engine when evaluating a tool call.

    interface ToolCallPolicyContext {
        tool: BaseTool;
        toolArgs: Record<string, unknown>;
    }

    Properties

    tool: BaseTool

    The tool being invoked.

    toolArgs: Record<string, unknown>

    The arguments supplied to the tool call.