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