list_teams
Retrieve all teams accessible to the authenticated user and obtain their UUIDs, which are required for performing other team-related operations within Coolify.
Instructions
List all teams the authenticated user has access to. Use this to get team UUIDs needed for other operations.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/index.ts:1256-1260 (handler)Handler for the list_teams tool: sends GET request to Coolify's /teams endpoint and returns the JSON response as text content.case 'list_teams': const teamsResponse = await this.axiosInstance.get('/teams'); return { content: [{ type: 'text', text: JSON.stringify(teamsResponse.data, null, 2) }] };
- src/index.ts:147-159 (registration)Registration of the list_teams tool in the ListToolsRequestSchema response, including name, description, input schema, and additional usage information.{ name: 'list_teams', description: 'List all teams the authenticated user has access to. Use this to get team UUIDs needed for other operations.', inputSchema: { type: 'object', properties: {}, required: [], examples: [{}], additionalInfo: { responseFormat: 'Returns an array of team objects, each containing: id (UUID), name, and other team details', usage: 'Call this first to get team IDs needed for get_team or other team-related operations' } }
- src/index.ts:147-159 (schema)Schema definition for list_teams tool: no input parameters required, returns team list.{ name: 'list_teams', description: 'List all teams the authenticated user has access to. Use this to get team UUIDs needed for other operations.', inputSchema: { type: 'object', properties: {}, required: [], examples: [{}], additionalInfo: { responseFormat: 'Returns an array of team objects, each containing: id (UUID), name, and other team details', usage: 'Call this first to get team IDs needed for get_team or other team-related operations' } }