create_result_bulk
Bulk create test run results for Qase test management platform using this tool, enabling efficient management of multiple outcomes in a single operation.
Instructions
Create multiple test run results in bulk
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ||
| id | Yes | ||
| results | Yes |
Implementation Reference
- src/index.ts:302-305 (handler)Handler function that parses input arguments using CreateResultBulkSchema and delegates to createResultBulk helper..with({ name: 'create_result_bulk' }, ({ arguments: args }) => { const { code, id, results } = CreateResultBulkSchema.parse(args); return createResultBulk(code, id, results); })
- src/operations/results.ts:32-36 (schema)Zod schema defining the input structure for the create_result_bulk tool: code (string), id (number), results (ResultCreateBulk).export const CreateResultBulkSchema = z.object({ code: z.string(), id: z.number(), results: z.record(z.any()).transform((v) => v as ResultCreateBulk), });
- src/index.ts:160-164 (registration)Registration of the create_result_bulk tool in the ListToolsRequestSchema handler, including name, description, and input schema reference.{ name: 'create_result_bulk', description: 'Create multiple test run results in bulk', inputSchema: zodToJsonSchema(CreateResultBulkSchema), },
- src/operations/results.ts:60-63 (helper)Helper function wrapping the Qase client API call to create results in bulk, applying toResult transformation.export const createResultBulk = pipe( client.results.createResultBulk.bind(client.results), toResult, );