enhance: use more descriptive names for database tools #334
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
To reduce confusion in both the LLM and tool maintainers, rename the following tools in the
Database
bundle:Tables
->List Tables
Exec
->Exec Statement
Query
->Run Query
Also fix tool descriptions to reflect the change from raw markdown output to JSON.
Addresses obot-platform/obot#1208
Since these tools are in the
Capability
category, the "blast radius" of this change includes theTableHandler
implementation in obot and all tools/agents currently using them. That being the case, weshould hold-off on merging this change until the
TableHandler
implementation has been updated to the new tool names, or I keep duplicate tools that have the old names around until the handler implementation is updated.To prevent collisions with other tools, it may behoove us to make these names even more descriptive -- e.g.
Exec SQL Statement
-- but I'd like to get some feedback on these names before I do that.