Skip to content

Tool description update #27

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Tool description update #27

wants to merge 2 commits into from

Conversation

ctufts
Copy link
Contributor

@ctufts ctufts commented Jul 18, 2025

This pull request refines the input schemas for several tools by adding detailed descriptions and validation rules for location-related properties. These changes aim to improve clarity and ensure consistent input formats across tools.

Enhanced property descriptions and validation:

  • src/tools/category-search-tool/CategorySearchTool.ts: Expanded the description for location to include examples of good and bad formats. Updated bbox property descriptions to require exact property names (minLongitude, minLatitude, maxLongitude, maxLatitude) and provided examples of correct and incorrect formats.

  • src/tools/forward-geocode-tool/ForwardGeocodeTool.ts: Added detailed examples for the location property, specifying correct and incorrect formats. Enhanced bbox descriptions with stricter naming requirements and examples to ensure consistency. [1] [2]

  • src/tools/poi-search-tool/PoiSearchTool.ts: Improved the location property description with examples of valid and invalid formats. Updated bbox descriptions to enforce exact property names and included examples for clarity.## Description

  • Closes #[issue-number] (if applicable)

Testing


Checklist

  • Code has been tested locally
  • Unit tests have been added or updated
  • Documentation has been updated if needed

Additional Notes

@ctufts ctufts marked this pull request as ready for review July 18, 2025 19:42
@ctufts ctufts requested a review from a team as a code owner July 18, 2025 19:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant