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

    Interface ToolCallIntegrityPluginOptions

    interface ToolCallIntegrityPluginOptions {
        allowUnstampedCalls?: boolean;
        name?: string;
        secretKey:
            | Uint8Array<ArrayBufferLike>
            | readonly Uint8Array<ArrayBufferLike>[];
    }

    Properties

    allowUnstampedCalls?: boolean

    Log a warning instead of throwing for function calls that have no stamp, such as calls stored before the plugin was installed. Such calls also run, so this reports tampering that removes a stamp but does not prevent it. A stamp that is present but wrong is always rejected. Defaults to false.

    name?: string

    The plugin name. Defaults to 'tool_call_integrity'.

    secretKey: Uint8Array<ArrayBufferLike> | readonly Uint8Array<ArrayBufferLike>[]

    The HMAC key, or a list of keys during rotation. The first key stamps new calls; every key is accepted when verifying.