list_portals
Retrieve all available Zoho Projects portals to access and manage your project workspaces through the MCP server.
Instructions
Retrieve all Zoho Projects portals
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/index.ts:624-629 (handler)Core handler function for the 'list_portals' tool. Makes an API request to Zoho's /portals endpoint and returns the response as formatted JSON text content.private async listPortals() { const data = await this.makeRequest("/portals"); return { content: [{ type: "text", text: JSON.stringify(data, null, 2) }], }; }
- src/http-server.ts:627-632 (handler)Identical core handler function for the 'list_portals' tool in the HTTP server variant.private async listPortals() { const data = await this.makeRequest("/portals"); return { content: [{ type: "text", text: JSON.stringify(data, null, 2) }], }; }
- src/index.ts:181-187 (registration)Tool registration entry in the listTools handler, including name, description, and schema.name: "list_portals", description: "Retrieve all Zoho Projects portals", inputSchema: { type: "object", properties: {}, }, },
- src/index.ts:183-186 (schema)Input schema for the 'list_portals' tool, which requires no parameters.inputSchema: { type: "object", properties: {}, },
- src/index.ts:554-558 (registration)Dispatch/registration in the callTool request handler switch statement.case "list_portals": return await this.listPortals(); case "get_portal": return await this.getPortal(params.portal_id);