get_suites
Retrieve all test suites in a project using code, search, limit, and offset parameters for efficient test management with QASE MCP Server integration.
Instructions
Get all test suites in a project
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ||
| limit | No | ||
| offset | No | ||
| search | No |
Implementation Reference
- src/index.ts:404-407 (handler)The handler function for the 'get_suites' tool. It parses the input arguments using GetSuitesSchema and delegates to the getSuites helper function with the extracted parameters..with({ name: 'get_suites' }, ({ arguments: args }) => { const { code, search, limit, offset } = GetSuitesSchema.parse(args); return getSuites(code, search, limit, offset); })
- src/operations/suites.ts:5-10 (schema)Zod schema defining the input parameters for the 'get_suites' tool: code (required string), search, limit, offset (optional).export const GetSuitesSchema = z.object({ code: z.string(), search: z.string().optional(), limit: z.number().optional(), offset: z.number().optional(), });
- src/index.ts:220-224 (registration)Registration of the 'get_suites' tool in the ListToolsRequestSchema handler, including name, description, and input schema reference.{ name: 'get_suites', description: 'Get all test suites in a project', inputSchema: zodToJsonSchema(GetSuitesSchema), },
- src/operations/suites.ts:34-37 (helper)Helper function that composes the client.suites.getSuites method with toResult using Ramda's pipe for the core logic of fetching suites.export const getSuites = pipe( client.suites.getSuites.bind(client.suites), toResult, );