docs: name the tool kinds the header's name field actually renders

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
hugocasa
2026-09-18 16:19:19 +02:00
co-authored by Claude Opus 5
parent 397a1b672f
commit 20198b7a74
@@ -60,7 +60,8 @@
isAgentTool ? getToolNameError(summary ?? '', undefined, siblingToolNames) : undefined
)
// An agent tool's summary is the function name the model is given, not free text, so the field
// asks for a name whatever the tool runs: a script, an MCP server or another agent.
// asks for a name whatever the tool runs: a script of its own, one from the workspace, or
// another agent.
let summaryPlaceholder = $derived(isAgentTool ? 'Tool name' : 'Summary')
const dispatch = createEventDispatcher()