UNPKG

@mastra/core

Version:
10 lines • 567 B
import type { MessageList } from '../../agent/message-list/index.js'; /** * Walk messageList backwards looking for a tool-invocation part with the given * toolCallId in result state. Used to read the post-processToolResult value * back from the message list so processor mutations can be synced into the * downstream tool-result stream chunk (main loop) or the serialized step * output (durable loop). */ export declare function readToolResultFromMessageList(messageList: MessageList, toolCallId: string): unknown; //# sourceMappingURL=read-tool-result.d.ts.map