tool_call / tool_call_update patch — or a permission request’s
toolCall reference, which has the same shape — into a merged
ToolCall snapshot. Returns undefined when the patch carries no
toolCallId.
Parameters
Record<string, unknown>
required
Returns
ToolCall
