eve
Version:
Filesystem-first framework for durable backend AI agents that run anywhere.
7 lines (6 loc) • 608 B
TypeScript
import type { PublicToolDefinition } from "#tools/definition.js";
import { type CompiledToolBehavior } from "#tools/behavior.js";
/** Framework-only tool definition whose implementation is owned outside an executor. */
export type NativeToolDefinition<TInput = unknown, TOutput = unknown> = PublicToolDefinition<TInput, TOutput>;
/** Defines an execute-less framework tool with closed internal behavior. */
export declare function defineNativeTool<TInput = unknown, TOutput = unknown>(definition: NativeToolDefinition<TInput, TOutput>, behavior: CompiledToolBehavior): NativeToolDefinition<TInput, TOutput>;