get_portal
Retrieve portal details by ID from Zoho Projects to access project management information and settings.
Instructions
Get details of a specific portal
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| portal_id | Yes | Portal ID |
Implementation Reference
- src/http-server.ts:634-639 (handler)Core implementation of the get_portal tool handler. Fetches portal details from Zoho API endpoint `/portal/${portalId}` via makeRequest and formats response as MCP content block.private async getPortal(portalId: string) { const data = await this.makeRequest(`/portal/${portalId}`); return { content: [{ type: "text", text: JSON.stringify(data, null, 2) }], }; }
- src/index.ts:631-636 (handler)Core implementation of the get_portal tool handler. Fetches portal details from Zoho API endpoint `/portal/${portalId}` via makeRequest and formats response as MCP content block.private async getPortal(portalId: string) { const data = await this.makeRequest(`/portal/${portalId}`); return { content: [{ type: "text", text: JSON.stringify(data, null, 2) }], }; }
- src/http-server.ts:192-201 (registration)Tool registration entry for get_portal, including name, description, and input schema defining required 'portal_id' parameter.name: "get_portal", description: "Get details of a specific portal", inputSchema: { type: "object", properties: { portal_id: { type: "string", description: "Portal ID" }, }, required: ["portal_id"], }, },
- src/index.ts:189-198 (registration)Tool registration entry for get_portal, including name, description, and input schema defining required 'portal_id' parameter.name: "get_portal", description: "Get details of a specific portal", inputSchema: { type: "object", properties: { portal_id: { type: "string", description: "Portal ID" }, }, required: ["portal_id"], }, },
- src/http-server.ts:194-200 (schema)Input schema for get_portal tool requiring a string portal_id.inputSchema: { type: "object", properties: { portal_id: { type: "string", description: "Portal ID" }, }, required: ["portal_id"], },