get_suite
Retrieve a specific test suite from the QASE test management platform by providing its unique ID and project code, enabling efficient test suite management.
Instructions
Get a specific test suite
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ||
| id | Yes |
Implementation Reference
- src/index.ts:408-411 (handler)MCP tool handler for 'get_suite': parses input arguments using GetSuiteSchema and delegates to getSuite function..with({ name: 'get_suite' }, ({ arguments: args }) => { const { code, id } = GetSuiteSchema.parse(args); return getSuite(code, id); })
- src/index.ts:225-229 (registration)Tool registration in the list of available tools, specifying name, description, and input schema.{ name: 'get_suite', description: 'Get a specific test suite', inputSchema: zodToJsonSchema(GetSuiteSchema), },
- src/operations/suites.ts:12-15 (schema)Zod schema for validating input parameters: code (string) and id (number).export const GetSuiteSchema = z.object({ code: z.string(), id: z.number(), });
- src/operations/suites.ts:39-42 (helper)Core implementation of getSuite: pipes client.suites.getSuite through toResult for error handling.export const getSuite = pipe( client.suites.getSuite.bind(client.suites), toResult, );