get_result
Retrieve test run results using a unique code and hash with this tool integrated into QASE MCP Server for efficient test management and analysis.
Instructions
Get test run result by code and hash
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ||
| hash | Yes |
Implementation Reference
- src/index.ts:294-297 (handler)Handler for the 'get_result' tool: parses input arguments using GetResultSchema and invokes the getResult helper function with code and hash..with({ name: 'get_result' }, ({ arguments: args }) => { const { code, hash } = GetResultSchema.parse(args); return getResult(code, hash); })
- src/operations/results.ts:21-24 (schema)Zod input schema for 'get_result' tool, defining required 'code' and 'hash' string fields.export const GetResultSchema = z.object({ code: z.string(), hash: z.string(), });
- src/index.ts:150-154 (registration)Tool registration in ListToolsRequestSchema handler, specifying name, description, and input schema for 'get_result'.{ name: 'get_result', description: 'Get test run result by code and hash', inputSchema: zodToJsonSchema(GetResultSchema), },
- src/operations/results.ts:50-53 (helper)Helper function 'getResult' that composes client.results.getResult with the toResult transformer using Ramda pipe.export const getResult = pipe( client.results.getResult.bind(client.results), toResult, );