{#if tools.length} {#if active && doneCount < tools.length} {:else if hasError} {:else} {/if} {#if active && doneCount < tools.length} {doneCount}/{tools.length} {#if runningTool} {runningTool.name} … {:else} working… {/if} {:else} {tools.length} tool{tools.length === 1 ? '' : 's'} {names} {/if} {#each tools as tool (tool.id)} {#if tool.type === 'tool_result' && tool.error} {:else if tool.type === 'tool_result'} {:else} {/if} {tool.name} {toolSummary(tool.args)} {#if tool.args} {JSON.stringify(tool.args, null, 2)} {/if} {#if tool.type === 'tool_result'} {tool.error ?? JSON.stringify(tool.result, null, 2)} {/if} {/each} {/if}
{JSON.stringify(tool.args, null, 2)}
{tool.error ?? JSON.stringify(tool.result, null, 2)}