naftiko: 1.0.0-alpha2 info: label: Unity Lobby API — Players description: 'Unity Lobby API — Players. 2 operations. Lead operation: Remove Player From Lobby. Self-contained Naftiko capability covering one Unity business surface.' tags: - Unity - Players created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: UNITY_API_KEY: UNITY_API_KEY capability: consumes: - type: http namespace: lobby-players baseUri: https://lobby.services.api.unity.com description: Unity Lobby API — Players business capability. Self-contained, no shared references. resources: - name: v1-lobbies-lobbyId-players-playerId path: /v1/lobbies/{lobbyId}/players/{playerId} operations: - name: removeplayer method: DELETE description: Remove Player From Lobby outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: lobbyId in: path type: string required: true - name: playerId in: path type: string required: true - name: updateplayerdata method: PATCH description: Update Player Data In Lobby outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: lobbyId in: path type: string required: true - name: playerId in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: true authentication: type: bearer token: '{{env.UNITY_API_KEY}}' exposes: - type: rest namespace: lobby-players-rest port: 8080 description: REST adapter for Unity Lobby API — Players. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v1/lobbies/{lobbyid}/players/{playerid} name: v1-lobbies-lobbyid-players-playerid description: REST surface for v1-lobbies-lobbyId-players-playerId. operations: - method: DELETE name: removeplayer description: Remove Player From Lobby call: lobby-players.removeplayer with: lobbyId: rest.lobbyId playerId: rest.playerId outputParameters: - type: object mapping: $. - method: PATCH name: updateplayerdata description: Update Player Data In Lobby call: lobby-players.updateplayerdata with: lobbyId: rest.lobbyId playerId: rest.playerId body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: lobby-players-mcp port: 9090 transport: http description: MCP adapter for Unity Lobby API — Players. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: remove-player-lobby description: Remove Player From Lobby hints: readOnly: false destructive: true idempotent: true call: lobby-players.removeplayer with: lobbyId: tools.lobbyId playerId: tools.playerId outputParameters: - type: object mapping: $. - name: update-player-data-lobby description: Update Player Data In Lobby hints: readOnly: false destructive: false idempotent: true call: lobby-players.updateplayerdata with: lobbyId: tools.lobbyId playerId: tools.playerId body: tools.body outputParameters: - type: object mapping: $.