create_project
Initialize new projects in QASE by defining project code, title, and access settings. Streamline test management integration for organized workflows.
Instructions
Create new project
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| access | No | ||
| code | Yes | ||
| description | No | ||
| group | No | ||
| title | Yes |
Implementation Reference
- src/operations/projects.ts:33-36 (handler)The core handler function for the 'create_project' tool. It pipes the QaseIO client method to create a project and converts the result 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, optional 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:140-144 (registration)Registers the 'create_project' tool in the MCP server's ListToolsRequestHandler response, including name, description, and input schema.{ name: 'create_project', description: 'Create new project', inputSchema: zodToJsonSchema(CreateProjectSchema), },
- src/index.ts:277-280 (handler)Dispatch handler in CallToolRequestSchema that parses input arguments using the schema and invokes the createProject handler function..with({ name: 'create_project' }, ({ arguments: args }) => { const parsedArgs = CreateProjectSchema.parse(args); return createProject(parsedArgs); })