get_shared_step
Retrieve a specific shared step from QASE test management platform using its code and hash identifiers to access reusable testing components.
Instructions
Get a specific shared step
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ||
| hash | Yes |
Implementation Reference
- src/index.ts:424-427 (handler)MCP tool call handler that parses input using the schema and delegates to the getSharedStep function..with({ name: 'get_shared_step' }, ({ arguments: args }) => { const { code, hash } = GetSharedStepSchema.parse(args); return getSharedStep(code, hash); })
- src/operations/shared-steps.ts:13-16 (schema)Zod schema for validating input parameters (code and hash) for the get_shared_step tool.export const GetSharedStepSchema = z.object({ code: z.string(), hash: z.string(), });
- src/index.ts:245-249 (registration)Tool registration in the MCP server's list of tools, specifying name, description, and input schema.{ name: 'get_shared_step', description: 'Get a specific shared step', inputSchema: zodToJsonSchema(GetSharedStepSchema), },
- src/operations/shared-steps.ts:72-75 (helper)Core implementation of getSharedStep using pipe to bind client method and convert to result format.export const getSharedStep = pipe( client.sharedSteps.getSharedStep.bind(client.sharedSteps), toResult, );