tool
{toolCall.name}
{#if toolCall.result !== undefined} {#if toolCall.isError}
error
{:else}
done
{/if} {:else}
pending
{/if}
{#if isExpanded}
Arguments
{JSON.stringify(toolCall.arguments, null, 2)}
{#if toolCall.result !== undefined}
Result
{toolCall.result}
{/if}
{/if}