fix: update new_task tool example to include todos parameter

- Updated the example in tool-use.ts to show the todos parameter
- This prevents AI confusion about whether todos is a valid parameter
- The example now demonstrates the complete tool usage pattern
This commit is contained in:
hannesrudolph 2025-08-06 16:02:49 -07:00
parent bb688dc8f8
commit cfd3cac881

View file

@ -20,6 +20,12 @@ For example, to use the new_task tool:
<new_task>
<mode>code</mode>
<message>Implement a new feature for the application.</message>
<todos>
[ ] Design the feature architecture
[ ] Implement core functionality
[ ] Add error handling
[ ] Write tests
</todos>
</new_task>
Always use the actual tool name as the XML tag name for proper parsing and execution.`