Skip to content

Conversation

kennyfrc
Copy link

@kennyfrc kennyfrc commented Sep 6, 2025

Both LS and Agent don't exist. The correct tool names are List and Task. This fixes some invalid tool calls agents might make.

Standardize tool references to use capitalized names consistently.
Change 'LS tool' to 'List tool' and 'list' to 'List' to match
the documentation convention used by other tools like Read, Grep, Glob, and Task.

Fixes incorrect references that were confusing the actual tool name.
Fix incorrect references to non-existent 'Agent tool' in glob, grep, and task
tool descriptions. These tools were incorrectly instructing users to use the
'Agent tool' instead of the actual 'Task tool' for launching agents.

This bug could mislead users into thinking there was a separate 'Agent tool'
when they should be using the Task tool with subagent_type parameter.

Fixes documentation inconsistencies that were causing confusion about
the proper tool usage for launching agents.
@kennyfrc
Copy link
Author

kennyfrc commented Sep 6, 2025

As an aside: I noticed that tool call reliability improves if we lowercase the tool names (e.g. List to list). I think it's because it matches the actual casing when the tool gets registered. But that's for a separate PR!

@rekram1-node
Copy link
Collaborator

rekram1-node commented Sep 6, 2025

going to ask Dax to review just incase there was some intentionality here but to me it looks fine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants