get_shared_steps
Retrieve all shared steps from a Qase test management project by specifying project code, search query, and pagination parameters for efficient test case management.
Instructions
Get all shared steps in a project
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ||
| limit | No | ||
| offset | No | ||
| search | No |
Implementation Reference
- src/index.ts:420-423 (handler)Handler for the 'get_shared_steps' tool call. Parses input arguments using GetSharedStepsSchema and delegates to the getSharedSteps helper function..with({ name: 'get_shared_steps' }, ({ arguments: args }) => { const { code, search, limit, offset } = GetSharedStepsSchema.parse(args); return getSharedSteps(code, search, limit, offset); })
- src/operations/shared-steps.ts:6-11 (schema)Zod schema defining the input parameters for the get_shared_steps tool: project code, optional search, limit, and offset.export const GetSharedStepsSchema = z.object({ code: z.string(), search: z.string().optional(), limit: z.number().optional(), offset: z.number().optional(), });
- src/index.ts:240-244 (registration)Registration of the 'get_shared_steps' tool in the ListToolsRequestSchema handler, including name, description, and input schema reference.{ name: 'get_shared_steps', description: 'Get all shared steps in a project', inputSchema: zodToJsonSchema(GetSharedStepsSchema), },
- src/operations/shared-steps.ts:67-70 (helper)Core helper function implementing the logic for retrieving shared steps: binds the client method and applies result transformation.export const getSharedSteps = pipe( client.sharedSteps.getSharedSteps.bind(client.sharedSteps), toResult, );