EVE Online · Capability

EVE Online ESI — Wars

ESI — Wars. 3 operations. Lead operation: EVE Online List Wars. Self-contained Naftiko capability covering one EVE Online business surface.

Run with Naftiko EVE OnlineESIWars

What You Can Do

GET
Get_wars — EVE Online List Wars
/v1/wars
GET
Get_wars_war_id — EVE Online Get War Information
/v1/wars/{war-id}
GET
Get_wars_war_id_killmails — EVE Online List Kills for a War
/v1/wars/{war-id}/killmails

MCP Tools

list-wars

EVE Online List Wars

read-only idempotent
get-war-information

EVE Online Get War Information

read-only idempotent
list-kills-war

EVE Online List Kills for a War

read-only idempotent

Capability Spec

eve-online-wars.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: EVE Online ESI — Wars
  description: 'ESI — Wars. 3 operations. Lead operation: EVE Online List Wars. Self-contained Naftiko capability covering one EVE Online business surface.'
  tags:
    - EVE Online
    - ESI
    - Wars
  created: '2026-05-30'
  modified: '2026-05-30'
binds:
  - namespace: env
    keys:
      EVE_ONLINE_ACCESS_TOKEN: EVE_ONLINE_ACCESS_TOKEN
capability:
  consumes:
    - type: http
      namespace: eve-online-wars
      baseUri: https://esi.evetech.net/latest
      description: EVE Online ESI — Wars business capability. Self-contained, no shared references.
      authentication:
        type: bearer
        token: '{{env.EVE_ONLINE_ACCESS_TOKEN}}'
      resources:
        - name: wars
          path: /wars/
          operations:
            - name: get_wars
              method: GET
              description: EVE Online List Wars
              outputRawFormat: json
              outputParameters:
                - name: result
                  type: object
                  value: $.
              inputParameters:
                - name: max_war_id
                  in: query
                  type: integer
                  required: false
                  description: Only return wars with ID smaller than this
        - name: wars-war-id
          path: /wars/{war_id}/
          operations:
            - name: get_wars_war_id
              method: GET
              description: EVE Online Get War Information
              outputRawFormat: json
              outputParameters:
                - name: result
                  type: object
                  value: $.
              inputParameters:
                - name: war_id
                  in: path
                  type: integer
                  required: true
                  description: ID for a war
        - name: wars-war-id-killmails
          path: /wars/{war_id}/killmails/
          operations:
            - name: get_wars_war_id_killmails
              method: GET
              description: EVE Online List Kills for a War
              outputRawFormat: json
              outputParameters:
                - name: result
                  type: object
                  value: $.
              inputParameters:
                - name: war_id
                  in: path
                  type: integer
                  required: true
                  description: A valid war ID
  exposes:
    - type: rest
      namespace: eve-online-wars-rest
      port: 8080
      description: REST adapter for EVE Online ESI — Wars. One Spectral-compliant resource per consumed operation, prefixed with /v1.
      resources:
        - path: /v1/wars
          name: wars
          description: REST surface for /wars/.
          operations:
            - method: GET
              name: get_wars
              description: EVE Online List Wars
              call: eve-online-wars.get_wars
              with:
                max_war_id: rest.max_war_id
              outputParameters:
                - type: object
                  mapping: $.
        - path: /v1/wars/{war-id}
          name: wars-war-id
          description: REST surface for /wars/{war_id}/.
          operations:
            - method: GET
              name: get_wars_war_id
              description: EVE Online Get War Information
              call: eve-online-wars.get_wars_war_id
              with:
                war_id: rest.war_id
              outputParameters:
                - type: object
                  mapping: $.
        - path: /v1/wars/{war-id}/killmails
          name: wars-war-id-killmails
          description: REST surface for /wars/{war_id}/killmails/.
          operations:
            - method: GET
              name: get_wars_war_id_killmails
              description: EVE Online List Kills for a War
              call: eve-online-wars.get_wars_war_id_killmails
              with:
                war_id: rest.war_id
              outputParameters:
                - type: object
                  mapping: $.
    - type: mcp
      namespace: eve-online-wars-mcp
      port: 9090
      transport: http
      description: MCP adapter for EVE Online ESI — Wars. One tool per consumed operation, routed inline through this capability's consumes block.
      tools:
        - name: list-wars
          description: EVE Online List Wars
          hints:
            readOnly: true
            destructive: false
            idempotent: true
          call: eve-online-wars.get_wars
          with:
            max_war_id: tools.max_war_id
          outputParameters:
            - type: object
              mapping: $.
        - name: get-war-information
          description: EVE Online Get War Information
          hints:
            readOnly: true
            destructive: false
            idempotent: true
          call: eve-online-wars.get_wars_war_id
          with:
            war_id: tools.war_id
          outputParameters:
            - type: object
              mapping: $.
        - name: list-kills-war
          description: EVE Online List Kills for a War
          hints:
            readOnly: true
            destructive: false
            idempotent: true
          call: eve-online-wars.get_wars_war_id_killmails
          with:
            war_id: tools.war_id
          outputParameters:
            - type: object
              mapping: $.