GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • ADK for TypeScript: API Reference

This view

  • Original page
  • New address

GeezerVison is showing adk.dev — BasePolicyEngine | ADK for TypeScript: API Reference - v2.5.0

  • BasePolicyEngine

Interface BasePolicyEngine

Interface for policy engines that gate tool call execution.

interface BasePolicyEngine {
    evaluate(context: ToolCallPolicyContext): Promise<PolicyCheckResult>;
}

Implemented by

  • InMemoryPolicyEngine
  • Defined in core/src/plugins/security_plugin.ts:57

Methods

evaluate

  • evaluate(context: ToolCallPolicyContext): Promise<PolicyCheckResult>

    Evaluates whether a tool call should be allowed, denied, or confirmed.

    Parameters

    • context: ToolCallPolicyContext

      The tool and its arguments to evaluate.

    Returns Promise<PolicyCheckResult>

    A promise resolving to the policy decision.

    • Defined in core/src/plugins/security_plugin.ts:64
Methods
evaluate
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.