Skip to content

Add GraphQL validation tool #35

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 3 commits into
base: main
Choose a base branch
from
Open

Conversation

matteodepalo
Copy link
Contributor

@matteodepalo matteodepalo commented May 16, 2025

I've added a validate_graphql tool that can be used by agents to make sure that generated graphql is valid.
The validation is done locally.

I've also improved the description of various tools.

@matteodepalo matteodepalo requested a review from a team as a code owner May 16, 2025 12:34
@matteodepalo matteodepalo force-pushed the add-graphql-validation branch from 212e27f to 5a17f49 Compare May 26, 2025 07:15
code: z.string().describe("The GraphQL code to validate"),
},
async ({ code }) => {
const result = await validateShopifyGraphQL(code);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

did we also want to record mcp usage for this tool?

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.

2 participants