Function: renderRetrievableHandleBody()
ts
function renderRetrievableHandleBody(input: {
artifact: unknown;
byteLength: number;
callId: string;
encoding?: string;
estimatedTokens?: number;
lineCount: number;
}): string;Defined in: src/batteries/llm/chat_common/helpers.ts:499
Render the "handle" body for a @nhtio/adk!Retrievable's spooled-artifact content marked inline: false. See buildHandleBody for the shared mechanics; this variant's leading sentence frames the artifact as a retrieved record rather than a tool result.
Parameters
| Parameter | Type |
|---|---|
input | { artifact: unknown; byteLength: number; callId: string; encoding?: string; estimatedTokens?: number; lineCount: number; } |
input.artifact | unknown |
input.byteLength | number |
input.callId | string |
input.encoding? | string |
input.estimatedTokens? | number |
input.lineCount | number |
Returns
string