create_project
Create new projects in QASE test management platform by defining project code, title, and access settings to organize testing workflows.
Instructions
Create new project
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ||
| title | Yes | ||
| description | No | ||
| access | No | ||
| group | No |
Implementation Reference
- src/operations/projects.ts:33-36 (handler)The handler function for create_project tool. It pipes the Qase client projects.createProject method and converts the response using toResult utility.export const createProject = pipe( client.projects.createProject.bind(client.projects), toResult, );
- src/operations/projects.ts:15-21 (schema)Zod schema defining the input parameters for creating a project: code, title, description, access, and group.export const CreateProjectSchema = z.object({ code: z.string(), title: z.string(), description: z.string().optional(), access: z.nativeEnum(ProjectCreateAccessEnum).optional(), group: z.string().optional(), });
- src/index.ts:141-144 (registration)Registration of the create_project tool in the ListToolsRequestSchema handler, including name, description, and input schema.name: 'create_project', description: 'Create new project', inputSchema: zodToJsonSchema(CreateProjectSchema), },
- src/index.ts:277-280 (registration)Handler registration for the create_project tool call in the CallToolRequestSchema, parsing args with schema and calling the createProject function..with({ name: 'create_project' }, ({ arguments: args }) => { const parsedArgs = CreateProjectSchema.parse(args); return createProject(parsedArgs); })