get_project
Retrieve specific project details from Zoho Projects by providing the project ID to access information for management and tracking.
Instructions
Get details of a specific project
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | Project ID |
Implementation Reference
- src/index.ts:648-655 (handler)Handler function that executes the get_project tool: makes API request to Zoho for project details and returns JSON-formatted response.private async getProject(projectId: string) { const data = await this.makeRequest( `/portal/${this.config.portalId}/projects/${projectId}` ); return { content: [{ type: "text", text: JSON.stringify(data, null, 2) }], }; }
- src/index.ts:219-225 (schema)Input schema definition for the get_project tool, specifying project_id as required string.inputSchema: { type: "object", properties: { project_id: { type: "string", description: "Project ID" }, }, required: ["project_id"], },
- src/index.ts:216-226 (registration)Tool registration in the list of tools returned by ListToolsRequestHandler, defining name, description, and schema.{ name: "get_project", description: "Get details of a specific project", inputSchema: { type: "object", properties: { project_id: { type: "string", description: "Project ID" }, }, required: ["project_id"], }, },
- src/http-server.ts:651-658 (handler)Identical handler function in the HTTP server implementation.private async getProject(projectId: string) { const data = await this.makeRequest( `/portal/${this.config.portalId}/projects/${projectId}` ); return { content: [{ type: "text", text: JSON.stringify(data, null, 2) }], }; }
- src/http-server.ts:219-229 (registration)Tool registration in the HTTP server version.{ name: "get_project", description: "Get details of a specific project", inputSchema: { type: "object", properties: { project_id: { type: "string", description: "Project ID" }, }, required: ["project_id"], }, },