get_result
Retrieve test run results using a specific code and hash identifier from the QASE test management platform.
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)MCP server tool call handler for 'get_result': parses input args with GetResultSchema and delegates to getResult function..with({ name: 'get_result' }, ({ arguments: args }) => { const { code, hash } = GetResultSchema.parse(args); return getResult(code, hash); })
- src/operations/results.ts:21-24 (schema)Zod schema defining input for get_result tool: requires 'code' and 'hash' strings.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.{ name: 'get_result', description: 'Get test run result by code and hash', inputSchema: zodToJsonSchema(GetResultSchema), },
- src/operations/results.ts:50-53 (helper)Core getResult function: pipes client.results.getResult through toResult transformer.export const getResult = pipe( client.results.getResult.bind(client.results), toResult, );