Skip to content

Commit 7298564

Browse files
committed
update constraints
1 parent edac50a commit 7298564

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/tools/api_search.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ server.registerTool('api_search', {
1313
name: z.string().describe('The name of the cache entry'),
1414
resources: z.array(z.object({
1515
name: z.string().describe('The name of the resource'),
16-
resourceType: z.enum(['query', 'mutation', 'subscription']).describe('The type of GraphQL resource'),
16+
resourceType: z.string().describe('The type of API resource'),
1717
description: z.string().describe('Context or description of the resource'),
1818
details: z.object({
1919
request: z.string().describe('The request structure or input parameters for the API method').optional(),

0 commit comments

Comments
 (0)