You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Background
Different types of tools can have different available options. Currently
we expose options on tool types that do not support it, e.g. execute on
provider executed tools.
## Summary
Refactor the `Tool` type into a union of `FunctionTool`, `DynamicTool`,
`ProviderDefinedTool`, and `ProviderExecutedTool`. Expose the new types.
Add type tests.
The goal is to create a foundation for further refactoring and option
restrictions.
## Future Work
* restrict options available on specific tool types more
0 commit comments