UNPKG

@promptbook/remote-server

Version:

Promptbook: Create persistent AI agents that turn your company's scattered knowledge into action

12 lines (11 loc) 451 B
import type { ToolCall } from '../../../../types/ToolCall'; import type { TODO_any } from '../../../../utils/organization/TODO_any'; /** * Parses one tool result payload while preserving non-JSON strings. * * @param result - Raw tool result payload. * @returns Parsed payload when possible, otherwise original value. * * @private function of toolCallParsing */ export declare function parseToolCallResult(result: ToolCall['result']): TODO_any;