Unity · Capability

Unity Lobby API — Search

Unity Lobby API — Search. 1 operations. Lead operation: Query Lobbies. Self-contained Naftiko capability covering one Unity business surface.

Run with Naftiko UnitySearch

What You Can Do

POST
Querylobbies — Query Lobbies
/v1/v1/lobbies/query

MCP Tools

query-lobbies

Query Lobbies

read-only

Capability Spec

lobby-search.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Unity Lobby API — Search
  description: 'Unity Lobby API — Search. 1 operations. Lead operation: Query Lobbies. Self-contained Naftiko capability covering
    one Unity business surface.'
  tags:
  - Unity
  - Search
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    UNITY_API_KEY: UNITY_API_KEY
capability:
  consumes:
  - type: http
    namespace: lobby-search
    baseUri: https://lobby.services.api.unity.com
    description: Unity Lobby API — Search business capability. Self-contained, no shared references.
    resources:
    - name: v1-lobbies-query
      path: /v1/lobbies/query
      operations:
      - name: querylobbies
        method: POST
        description: Query Lobbies
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - 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-search-rest
    port: 8080
    description: REST adapter for Unity Lobby API — Search. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/v1/lobbies/query
      name: v1-lobbies-query
      description: REST surface for v1-lobbies-query.
      operations:
      - method: POST
        name: querylobbies
        description: Query Lobbies
        call: lobby-search.querylobbies
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: lobby-search-mcp
    port: 9090
    transport: http
    description: MCP adapter for Unity Lobby API — Search. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: query-lobbies
      description: Query Lobbies
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: lobby-search.querylobbies
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.