The id of the deferred call this answers, from AiCallResult.deferred.
OptionalisWhether the call failed. The model is told so. Defaults to false.
What the tool returned, or what the reviewer decided it returns. Rendered as a tool's own result would be: a string as written, a number or boolean as its text, anything else as JSON.
One entry of the array
AiAgent.resume(results)takes: the answer to a tool call a hook deferred, named by the call'sidfromAiCallResult.deferred.Example: ```javascript const proposed = agent.sendMessage("File the intake for the new resident."); // ... a human reviews proposed.deferred, then ... const done = agent.resume(proposed.deferred.map(c => ({ id: c.id, result: apply(c) }))); ```