update_suite
Modify an existing test suite by updating its code, title, description, preconditions, or parent ID using the QASE MCP Server integration for test management.
Instructions
Update an existing test suite
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ||
| description | No | ||
| id | Yes | ||
| parent_id | No | ||
| preconditions | No | ||
| title | No |
Implementation Reference
- src/index.ts:416-419 (handler)MCP tool call handler for 'update_suite': parses arguments with UpdateSuiteSchema and calls updateSuite function with code, id, and suiteData..with({ name: 'update_suite' }, ({ arguments: args }) => { const { code, id, ...suiteData } = UpdateSuiteSchema.parse(args); return updateSuite(code, id, suiteData); })
- src/operations/suites.ts:25-32 (schema)Zod schema for update_suite tool input: requires code and id, optional title, description, preconditions, parent_id.export const UpdateSuiteSchema = z.object({ code: z.string(), id: z.number(), title: z.string().optional(), description: z.string().optional(), preconditions: z.string().optional(), parent_id: z.number().optional(), });
- src/index.ts:235-239 (registration)Tool registration in ListToolsRequestSchema handler, specifying name, description, and input schema.{ name: 'update_suite', description: 'Update an existing test suite', inputSchema: zodToJsonSchema(UpdateSuiteSchema), },
- src/operations/suites.ts:49-52 (helper)Core updateSuite helper: composes client.suites.updateSuite with toResult using Ramda pipe.export const updateSuite = pipe( client.suites.updateSuite.bind(client.suites), toResult, );