{ if (detailsEl.hasAttribute("open")) { detailsEl.removeAttribute("open"); } }} > Tools ({activeToolCount})
Available tools {#if isHuggingChat} {/if}
{#each $page.data.tools as tool} {@const isChecked = $settings?.tools?.[tool.name] ?? tool.isOnByDefault}
{ await settings.instantSet({ tools: { ...$settings.tools, [tool.name]: !isChecked, }, }); }} />
{/each}