Skip to content

Conversation

@gmethvin
Copy link
Member

Cursor appears to have a bug with how it handles JSON schemas with union types, which causes an error for the identifier in the snippet schema when trying to call the relevant tools.

Parameter 'identifier' must be of type string,number, got string

Work around this by accepting a string in the schema instead.

@gmethvin gmethvin force-pushed the cursor-schema-workaround branch from 0597588 to badbba9 Compare November 25, 2025 22:19
@gmethvin gmethvin force-pushed the cursor-schema-workaround branch from badbba9 to 8ccb3db Compare November 25, 2025 23:08
@gmethvin gmethvin merged commit f6c6fa0 into main Nov 25, 2025
8 checks passed
@gmethvin gmethvin deleted the cursor-schema-workaround branch November 25, 2025 23:13
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.

3 participants