| Name | Type | Description |
|---|---|---|
value* | unknown |
Parse wire-format tool payloads into structured values.
Tool events may carry JSON-encoded object strings on the wire; this helper normalises them to plain objects for consumers. Non-JSON strings are returned unchanged.