list_portals
Retrieve all available Zoho Projects portals to access and manage your project workspaces and organizational data.
Instructions
Retrieve all Zoho Projects portals
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/http-server.ts:627-632 (handler)Handler function that implements the core logic of the 'list_portals' tool by making an API request to Zoho's /portals endpoint and returning the response as a formatted text content block.private async listPortals() { const data = await this.makeRequest("/portals"); return { content: [{ type: "text", text: JSON.stringify(data, null, 2) }], }; }
- src/index.ts:624-629 (handler)Identical handler function for 'list_portals' tool in the stdio version of the server.private async listPortals() { const data = await this.makeRequest("/portals"); return { content: [{ type: "text", text: JSON.stringify(data, null, 2) }], }; }
- src/http-server.ts:557-558 (registration)Registration/dispatch logic in the CallToolRequestSchema handler that routes 'list_portals' calls to the listPortals method.case "list_portals": return await this.listPortals();
- src/http-server.ts:184-190 (registration)Tool registration entry in the ListToolsRequestSchema response defining the 'list_portals' tool's metadata, description, and input schema.name: "list_portals", description: "Retrieve all Zoho Projects portals", inputSchema: { type: "object", properties: {}, }, },
- src/http-server.ts:187-190 (schema)Input schema definition for the 'list_portals' tool, specifying an empty object (no required parameters).type: "object", properties: {}, }, },