docs: state the tool-name rule without listing the kinds it covers

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
hugocasa
2026-09-18 16:28:03 +02:00
co-authored by Claude Opus 5
parent 20198b7a74
commit d3083ea168
@@ -60,8 +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 of its own, one from the workspace, or
// another agent.
// asks for a name instead. That holds for every kind a tool can be, which is why the input
// below is one shared snippet rather than one per branch.
let summaryPlaceholder = $derived(isAgentTool ? 'Tool name' : 'Summary')
const dispatch = createEventDispatcher()