Control how this function call appears in the AI’s conversation history. Use this to remove sensitive information (credit card numbers, SSNs) or replace verbose tool results with concise summaries.
When true is passed, the entire tool-call/result pair is removed from history.
When a string is passed, the pair is replaced with that text as an assistant message.
true — remove the tool-call and result pair from history entirelystring — replace the pair with an assistant message containing this textFunctionResult — this, for chaining.