@mastra/core
Version:
10 lines • 511 B
TypeScript
import type { Mastra } from '../../mastra/index.js';
import type { ToolStepEntry } from '../types.js';
import type { EntryExecuteContext } from './types.js';
/**
* Runs a declarative `tool` entry: resolves the tool (inline handle, else the
* Mastra registry) and executes it with the step context mapped into the tool
* execution context.
*/
export declare function runToolEntry(entry: ToolStepEntry, ctx: EntryExecuteContext, mastra?: Mastra): Promise<unknown>;
//# sourceMappingURL=run-tool-entry.d.ts.map