Every result an offered operation returns, and everything render
takes.
Most agent code never names this: Tool.call and Toolset.call
render what they get before returning it. Reach for it when calling an
operation directly and wanting the same text a tool would have produced — for
a prompt, a transcript, or a loop of your own.
An import's result is not among these — importMemories is not one of the
offered operations — and render throws a TypeError on anything it
does not recognise rather than returning empty text.
Example
constresult: Rendered = awaitsession.search('how does X work') console.log(render(result))
Every result an offered operation returns, and everything render takes.
Most agent code never names this: Tool.call and Toolset.call render what they get before returning it. Reach for it when calling an operation directly and wanting the same text a tool would have produced — for a prompt, a transcript, or a loop of your own.
An import's result is not among these —
importMemoriesis not one of the offered operations — and render throws aTypeErroron anything it does not recognise rather than returning empty text.