list_projects
Retrieve all projects from the QASE test management platform. Use this tool to view project details and manage testing workflows.
Instructions
Get All Projects
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| offset | No |
Implementation Reference
- src/operations/projects.ts:23-26 (handler)Core handler function that pipes the Qase client getProjects method to a result transformer.export const listProjects = pipe( client.projects.getProjects.bind(client.projects), toResult, );
- src/operations/projects.ts:6-9 (schema)Zod schema defining optional limit and offset parameters for listing projects.export const ListProjectsSchema = z.object({ limit: z.number().optional(), offset: z.number().optional(), });
- src/index.ts:131-134 (registration)Tool registration in the ListToolsRequestSchema handler, declaring name, description, and input schema.name: 'list_projects', description: 'Get All Projects', inputSchema: zodToJsonSchema(ListProjectsSchema), },
- src/index.ts:269-272 (handler)MCP server CallToolRequestSchema handler that parses arguments using the schema and invokes the listProjects function..with({ name: 'list_projects' }, ({ arguments: args }) => { const { limit, offset } = ListProjectsSchema.parse(args); return listProjects(limit, offset); })