@promptbook/remote-server
Version:
Promptbook: Create persistent AI agents that turn your company's scattered knowledge into action
11 lines (10 loc) • 369 B
TypeScript
import type { ToolCall } from '../../../../types/ToolCall';
/**
* Extracts date-like values from tool result payloads.
*
* @param result - Tool result to inspect.
* @returns Parsed date or `null` when no valid timestamp is found.
*
* @private function of toolCallParsing
*/
export declare function getToolCallResultDate(result: ToolCall['result']): Date | null;