Skip to content

Conversation

@bobtista
Copy link

@bobtista bobtista commented Jul 30, 2025

  • Change schema to expect 'coin' parameter instead of 'symbol'
  • Remove unnecessary transform in candleSnapshotSchema
  • Update tool definition and README to use 'coin' parameter
  • Fixes validation error when calling get_candle_snapshot tool

I noticed my cursor agents kept trying to use "coin" instead of "symbol," which was causing errors in the tool use. When I asked the agent to use "symbol" instead of coin, the tool also fails - there seems to be an error. When I asked the agent what key the tool expects for token symbol, it checked the tool definition and saw "coin" so it used that.

Screenshot 2025-07-30 at 12 44 25 PM

- Change schema to expect 'coin' parameter instead of 'symbol'
- Remove unnecessary transform in candleSnapshotSchema
- Update tool definition and README to use 'coin' parameter
- Fixes validation error when calling get_candle_snapshot tool
@bobtista bobtista changed the title nit: align candle snapshot tool schema with Hyperliquid API fix: align candle snapshot tool schema with Hyperliquid API Jul 30, 2025
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