{#if toolName && toolName !== "websearch"}
{toolUpdate.message}
{#each tool as toolUpdate}
{#if toolUpdate.subtype === MessageToolUpdateType.Call}
Parameters
{#each Object.entries(toolUpdate.call.parameters ?? {}) as [k, v]}
{:else if toolUpdate.subtype === MessageToolUpdateType.Error}
Error