get_current_team_members
Retrieve the list of members belonging to the current team in your Coolify self-hosted PaaS environment for team management and collaboration.
Instructions
Get members of the current team
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/handlers.ts:66-67 (handler)Handler function that executes the tool by calling the Coolify API endpoint GET /teams/current/members to retrieve current team members.case 'get_current_team_members': return client.get('/teams/current/members');
- src/tools/definitions.ts:145-149 (schema)Tool schema definition including name, description, and input schema (no required parameters).{ name: 'get_current_team_members', description: 'Get members of the current team', inputSchema: { type: 'object', properties: {}, required: [] } },
- src/index.ts:36-38 (registration)Registration of all tools via MCP server.setRequestHandler for ListToolsRequestSchema, which returns getToolDefinitions() including this tool.this.server.setRequestHandler(ListToolsRequestSchema, async () => ({ tools: getToolDefinitions() }));
- src/index.ts:57-67 (registration)Tool call handling via MCP server.setRequestHandler for CallToolRequestSchema, dispatching to handleTool which contains the specific case for this tool.const result = await handleTool(this.client, name, args || {}); return { content: [{ type: 'text', text: JSON.stringify(result, null, 2) }] }; } catch (error) { if (error instanceof McpError) throw error; const message = error instanceof Error ? error.message : 'Unknown error'; throw new McpError(ErrorCode.InternalError, `Tool execution failed: ${message}`); } });