UNRENDERABLE_TOOL_OUTPUT = '<tool output could not be rendered>'Sentinel tool_output used when formatting/coercing a tool result raises.
Lets both surfaces keep the terminal tool.result dispatch unconditional
without re-touching the offending content (whose __str__/__repr__ may itself
raise), so a hook consumer still sees the result rather than a dropped event.