UNPKG

@mastra/core

Version:
9 lines • 680 B
import type { MastraToolInvocation } from '../state/types.js'; type ToolInvocationState = MastraToolInvocation['state']; export declare function isTerminalToolInvocationState(state: ToolInvocationState): boolean; /** States a client can contribute for a call the server left pending: an approval answer or an outcome. */ export declare function isClientToolInvocationUpdate(state: ToolInvocationState): boolean; /** Whether `incoming` moves a stored tool invocation in state `stored` forward. */ export declare function advancesToolInvocationState(stored: ToolInvocationState, incoming: ToolInvocationState): boolean; export {}; //# sourceMappingURL=tool-invocation-state.d.ts.map