Add Close method to tool.Toolset interface
Open
enhancement
- Dominant language
- Go
- Stars
- 8.8k
- Forks
- 1k
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 88
Description
This is a draft/idea yet.
We should add `Close() error` method to the `tool.Toolset` interface:
* consistency with adk-python [source](https://github.com/google/adk-python/blob/79fcddb39f71a4c1342e63b4d67832b3eccb2652/src/google/adk/tools/base_toolset.py#L151)
* this allows to clean up any resources Toolset may have (e.g. session in the MCP Toolset).
Contributor guide
Assessment
This issue has not been assessed yet.