UNPKG

@adonis-agora/agent

Version:

Governed, durable-backed AI agent (chat + tool-calling + governance) for AdonisJS — part of the Agora ecosystem.

16 lines • 676 B
import type { Finding } from '../types.js'; export interface PoisoningResult { score: number; findings: Finding[]; } export declare function scoreToolText(text: string, threshold?: number): PoisoningResult; /** The parts of a tool definition a model reads — MCP's `Tool` shape satisfies it. */ export interface ToolDefinitionText { name: string; title?: string | null | undefined; description?: string | null | undefined; inputSchema?: unknown; } /** Every description the model reads for a tool: its own and its parameters' (nested). */ export declare function toolText(tool: ToolDefinitionText): string; //# sourceMappingURL=tool-poisoning.d.ts.map