create_project
Create a new project in Zoho Projects by specifying name, description, start and end dates, and visibility settings to organize work and track progress.
Instructions
Create a new project
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| description | No | Project description | |
| end_date | No | End date (YYYY-MM-DD) | |
| is_public | No | Is project public | |
| name | Yes | Project name | |
| start_date | No | Start date (YYYY-MM-DD) |
Implementation Reference
- src/index.ts:657-671 (handler)The core handler function for the 'create_project' tool. It sends a POST request to the Zoho Projects API endpoint `/portal/{portalId}/projects` with the provided parameters and returns a formatted MCP response containing the created project data.private async createProject(params: any) { const data = await this.makeRequest( `/portal/${this.config.portalId}/projects`, "POST", params ); return { content: [ { type: "text", text: `Project created successfully:\n${JSON.stringify(data, null, 2)}`, }, ], }; }
- src/http-server.ts:660-674 (handler)Identical handler function for the 'create_project' tool in the HTTP server implementation. Makes POST request to Zoho API and returns MCP-formatted response.private async createProject(params: any) { const data = await this.makeRequest( `/portal/${this.config.portalId}/projects`, "POST", params ); return { content: [ { type: "text", text: `Project created successfully:\n${JSON.stringify(data, null, 2)}`, }, ], }; }
- src/index.ts:230-247 (schema)JSON schema defining the input parameters for the create_project tool, requiring 'name' and optionally accepting description, start_date, end_date, and is_public.inputSchema: { type: "object", properties: { name: { type: "string", description: "Project name" }, description: { type: "string", description: "Project description" }, start_date: { type: "string", description: "Start date (YYYY-MM-DD)", }, end_date: { type: "string", description: "End date (YYYY-MM-DD)" }, is_public: { type: "boolean", description: "Is project public", default: false, }, }, required: ["name"], },
- src/index.ts:227-248 (registration)The tool descriptor registration in the listTools response, specifying name, description, and input schema for the create_project tool.{ name: "create_project", description: "Create a new project", inputSchema: { type: "object", properties: { name: { type: "string", description: "Project name" }, description: { type: "string", description: "Project description" }, start_date: { type: "string", description: "Start date (YYYY-MM-DD)", }, end_date: { type: "string", description: "End date (YYYY-MM-DD)" }, is_public: { type: "boolean", description: "Is project public", default: false, }, }, required: ["name"], }, },