feat(tools): added thinking tool, hiddenFromSidebar param
Merged
WA
2y ago+134+134+012345678901234567890123456789-48-48-01234567890123456789
- add thinking tool and block
- add hiddenFromSidebar for blocks that we want to be accessible to agents but hidden as standalone blocks
Description
Added thinking tool, hiddenFromSidebar param to hide tools that we want to be accessible to agents but hidden as standalone blocks.
Type of change
- New feature (non-breaking change which adds functionality)
How Has This Been Tested?
Tested manually with different models.
Checklist:
- My code follows the style guidelines of this project
- I have performed a self-review of my own code
- I have commented my code, particularly in hard-to-understand areas
- I have added tests that prove my fix is effective or that my feature works
- All tests pass locally and in CI (
npm test) - My changes generate no new warnings
- Any dependent changes have been merged and published in downstream modules
- I have updated version numbers as needed (if needed)
Security Considerations:
- My changes do not introduce any new security vulnerabilities
- I have considered the security implications of my changes
Additional Information:
inspiration: anthropic article