get_current_team
Retrieve details of the currently authenticated team associated with your API token in Coolify, enabling DevOps teams to access team-specific information for deployment management.
Instructions
Get details of the currently authenticated team. This is the team associated with your API token.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/index.ts:1272-1276 (handler)Handler for get_current_team tool: makes API call to '/teams/current' endpoint and returns the JSON response as text content.case 'get_current_team': const currentTeamResponse = await this.axiosInstance.get('/teams/current'); return { content: [{ type: 'text', text: JSON.stringify(currentTeamResponse.data, null, 2) }] };
- src/index.ts:190-204 (schema)Input schema definition for get_current_team tool: no required parameters, object with empty properties.inputSchema: { type: 'object', properties: {}, required: [], examples: [{}], additionalInfo: { responseFormat: 'Returns a team object containing id (UUID), name, and other team details', usage: 'Use this to quickly get information about your current team context', notes: [ 'No parameters needed - uses the team context from your API token', 'Useful for verifying your current team access', 'Returns the same format as get_team but for the current context' ] } }
- src/index.ts:187-205 (registration)Tool registration in the ListToolsRequestSchema response: defines name, description, and inputSchema for get_current_team.{ name: 'get_current_team', description: 'Get details of the currently authenticated team. This is the team associated with your API token.', inputSchema: { type: 'object', properties: {}, required: [], examples: [{}], additionalInfo: { responseFormat: 'Returns a team object containing id (UUID), name, and other team details', usage: 'Use this to quickly get information about your current team context', notes: [ 'No parameters needed - uses the team context from your API token', 'Useful for verifying your current team access', 'Returns the same format as get_team but for the current context' ] } } },