EVE Online · Capability

EVE Online ESI — Contracts

ESI — Contracts. 9 operations. Lead operation: EVE Online Get Contracts. Self-contained Naftiko capability covering one EVE Online business surface.

Run with Naftiko EVE OnlineESIContracts

What You Can Do

GET
Get_characters_character_id_contracts — EVE Online Get Contracts
/v1/characters/{character-id}/contracts
GET
Get_characters_character_id_contracts_contract_id_bids — EVE Online Get Contract Bids
/v1/characters/{character-id}/contracts/{contract-id}/bids
GET
Get_characters_character_id_contracts_contract_id_items — EVE Online Get Contract Items
/v1/characters/{character-id}/contracts/{contract-id}/items
GET
Get_contracts_public_bids_contract_id — EVE Online Get Public Contract Bids
/v1/contracts/public/bids/{contract-id}
GET
Get_contracts_public_items_contract_id — EVE Online Get Public Contract Items
/v1/contracts/public/items/{contract-id}
GET
Get_contracts_public_region_id — EVE Online Get Public Contracts
/v1/contracts/public/{region-id}
GET
Get_corporations_corporation_id_contracts — EVE Online Get Corporation Contracts
/v1/corporations/{corporation-id}/contracts
GET
Get_corporations_corporation_id_contracts_contract_id_bids — EVE Online Get Corporation Contract Bids
/v1/corporations/{corporation-id}/contracts/{contract-id}/bids
GET
Get_corporations_corporation_id_contracts_contract_id_items — EVE Online Get Corporation Contract Items
/v1/corporations/{corporation-id}/contracts/{contract-id}/items

MCP Tools

get-contracts

EVE Online Get Contracts

read-only idempotent
get-contract-bids

EVE Online Get Contract Bids

read-only idempotent
get-contract-items

EVE Online Get Contract Items

read-only idempotent
get-public-contract-bids

EVE Online Get Public Contract Bids

read-only idempotent
get-public-contract-items

EVE Online Get Public Contract Items

read-only idempotent
get-public-contracts

EVE Online Get Public Contracts

read-only idempotent
get-corporation-contracts

EVE Online Get Corporation Contracts

read-only idempotent
get-corporation-contract-bids

EVE Online Get Corporation Contract Bids

read-only idempotent
get-corporation-contract-items

EVE Online Get Corporation Contract Items

read-only idempotent

Capability Spec

eve-online-contracts.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: EVE Online ESI — Contracts
  description: 'ESI — Contracts. 9 operations. Lead operation: EVE Online Get Contracts. Self-contained Naftiko capability covering one EVE Online business surface.'
  tags:
    - EVE Online
    - ESI
    - Contracts
  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-contracts
      baseUri: https://esi.evetech.net/latest
      description: EVE Online ESI — Contracts business capability. Self-contained, no shared references.
      authentication:
        type: bearer
        token: '{{env.EVE_ONLINE_ACCESS_TOKEN}}'
      resources:
        - name: characters-character-id-contracts
          path: /characters/{character_id}/contracts/
          operations:
            - name: get_characters_character_id_contracts
              method: GET
              description: EVE Online Get Contracts
              outputRawFormat: json
              outputParameters:
                - name: result
                  type: object
                  value: $.
        - name: characters-character-id-contracts-contract-id-bids
          path: /characters/{character_id}/contracts/{contract_id}/bids/
          operations:
            - name: get_characters_character_id_contracts_contract_id_bids
              method: GET
              description: EVE Online Get Contract Bids
              outputRawFormat: json
              outputParameters:
                - name: result
                  type: object
                  value: $.
              inputParameters:
                - name: contract_id
                  in: path
                  type: integer
                  required: true
                  description: ID of a contract
        - name: characters-character-id-contracts-contract-id-items
          path: /characters/{character_id}/contracts/{contract_id}/items/
          operations:
            - name: get_characters_character_id_contracts_contract_id_items
              method: GET
              description: EVE Online Get Contract Items
              outputRawFormat: json
              outputParameters:
                - name: result
                  type: object
                  value: $.
              inputParameters:
                - name: contract_id
                  in: path
                  type: integer
                  required: true
                  description: ID of a contract
        - name: contracts-public-bids-contract-id
          path: /contracts/public/bids/{contract_id}/
          operations:
            - name: get_contracts_public_bids_contract_id
              method: GET
              description: EVE Online Get Public Contract Bids
              outputRawFormat: json
              outputParameters:
                - name: result
                  type: object
                  value: $.
              inputParameters:
                - name: contract_id
                  in: path
                  type: integer
                  required: true
                  description: ID of a contract
        - name: contracts-public-items-contract-id
          path: /contracts/public/items/{contract_id}/
          operations:
            - name: get_contracts_public_items_contract_id
              method: GET
              description: EVE Online Get Public Contract Items
              outputRawFormat: json
              outputParameters:
                - name: result
                  type: object
                  value: $.
              inputParameters:
                - name: contract_id
                  in: path
                  type: integer
                  required: true
                  description: ID of a contract
        - name: contracts-public-region-id
          path: /contracts/public/{region_id}/
          operations:
            - name: get_contracts_public_region_id
              method: GET
              description: EVE Online Get Public Contracts
              outputRawFormat: json
              outputParameters:
                - name: result
                  type: object
                  value: $.
              inputParameters:
                - name: region_id
                  in: path
                  type: integer
                  required: true
                  description: An EVE region id
        - name: corporations-corporation-id-contracts
          path: /corporations/{corporation_id}/contracts/
          operations:
            - name: get_corporations_corporation_id_contracts
              method: GET
              description: EVE Online Get Corporation Contracts
              outputRawFormat: json
              outputParameters:
                - name: result
                  type: object
                  value: $.
        - name: corporations-corporation-id-contracts-contract-id-bids
          path: /corporations/{corporation_id}/contracts/{contract_id}/bids/
          operations:
            - name: get_corporations_corporation_id_contracts_contract_id_bids
              method: GET
              description: EVE Online Get Corporation Contract Bids
              outputRawFormat: json
              outputParameters:
                - name: result
                  type: object
                  value: $.
              inputParameters:
                - name: contract_id
                  in: path
                  type: integer
                  required: true
                  description: ID of a contract
        - name: corporations-corporation-id-contracts-contract-id-items
          path: /corporations/{corporation_id}/contracts/{contract_id}/items/
          operations:
            - name: get_corporations_corporation_id_contracts_contract_id_items
              method: GET
              description: EVE Online Get Corporation Contract Items
              outputRawFormat: json
              outputParameters:
                - name: result
                  type: object
                  value: $.
              inputParameters:
                - name: contract_id
                  in: path
                  type: integer
                  required: true
                  description: ID of a contract
  exposes:
    - type: rest
      namespace: eve-online-contracts-rest
      port: 8080
      description: REST adapter for EVE Online ESI — Contracts. One Spectral-compliant resource per consumed operation, prefixed with /v1.
      resources:
        - path: /v1/characters/{character-id}/contracts
          name: characters-character-id-contracts
          description: REST surface for /characters/{character_id}/contracts/.
          operations:
            - method: GET
              name: get_characters_character_id_contracts
              description: EVE Online Get Contracts
              call: eve-online-contracts.get_characters_character_id_contracts
              with: {}
              outputParameters:
                - type: object
                  mapping: $.
        - path: /v1/characters/{character-id}/contracts/{contract-id}/bids
          name: characters-character-id-contracts-contract-id-bids
          description: REST surface for /characters/{character_id}/contracts/{contract_id}/bids/.
          operations:
            - method: GET
              name: get_characters_character_id_contracts_contract_id_bids
              description: EVE Online Get Contract Bids
              call: eve-online-contracts.get_characters_character_id_contracts_contract_id_bids
              with:
                contract_id: rest.contract_id
              outputParameters:
                - type: object
                  mapping: $.
        - path: /v1/characters/{character-id}/contracts/{contract-id}/items
          name: characters-character-id-contracts-contract-id-items
          description: REST surface for /characters/{character_id}/contracts/{contract_id}/items/.
          operations:
            - method: GET
              name: get_characters_character_id_contracts_contract_id_items
              description: EVE Online Get Contract Items
              call: eve-online-contracts.get_characters_character_id_contracts_contract_id_items
              with:
                contract_id: rest.contract_id
              outputParameters:
                - type: object
                  mapping: $.
        - path: /v1/contracts/public/bids/{contract-id}
          name: contracts-public-bids-contract-id
          description: REST surface for /contracts/public/bids/{contract_id}/.
          operations:
            - method: GET
              name: get_contracts_public_bids_contract_id
              description: EVE Online Get Public Contract Bids
              call: eve-online-contracts.get_contracts_public_bids_contract_id
              with:
                contract_id: rest.contract_id
              outputParameters:
                - type: object
                  mapping: $.
        - path: /v1/contracts/public/items/{contract-id}
          name: contracts-public-items-contract-id
          description: REST surface for /contracts/public/items/{contract_id}/.
          operations:
            - method: GET
              name: get_contracts_public_items_contract_id
              description: EVE Online Get Public Contract Items
              call: eve-online-contracts.get_contracts_public_items_contract_id
              with:
                contract_id: rest.contract_id
              outputParameters:
                - type: object
                  mapping: $.
        - path: /v1/contracts/public/{region-id}
          name: contracts-public-region-id
          description: REST surface for /contracts/public/{region_id}/.
          operations:
            - method: GET
              name: get_contracts_public_region_id
              description: EVE Online Get Public Contracts
              call: eve-online-contracts.get_contracts_public_region_id
              with:
                region_id: rest.region_id
              outputParameters:
                - type: object
                  mapping: $.
        - path: /v1/corporations/{corporation-id}/contracts
          name: corporations-corporation-id-contracts
          description: REST surface for /corporations/{corporation_id}/contracts/.
          operations:
            - method: GET
              name: get_corporations_corporation_id_contracts
              description: EVE Online Get Corporation Contracts
              call: eve-online-contracts.get_corporations_corporation_id_contracts
              with: {}
              outputParameters:
                - type: object
                  mapping: $.
        - path: /v1/corporations/{corporation-id}/contracts/{contract-id}/bids
          name: corporations-corporation-id-contracts-contract-id-bids
          description: REST surface for /corporations/{corporation_id}/contracts/{contract_id}/bids/.
          operations:
            - method: GET
              name: get_corporations_corporation_id_contracts_contract_id_bids
              description: EVE Online Get Corporation Contract Bids
              call: eve-online-contracts.get_corporations_corporation_id_contracts_contract_id_bids
              with:
                contract_id: rest.contract_id
              outputParameters:
                - type: object
                  mapping: $.
        - path: /v1/corporations/{corporation-id}/contracts/{contract-id}/items
          name: corporations-corporation-id-contracts-contract-id-items
          description: REST surface for /corporations/{corporation_id}/contracts/{contract_id}/items/.
          operations:
            - method: GET
              name: get_corporations_corporation_id_contracts_contract_id_items
              description: EVE Online Get Corporation Contract Items
              call: eve-online-contracts.get_corporations_corporation_id_contracts_contract_id_items
              with:
                contract_id: rest.contract_id
              outputParameters:
                - type: object
                  mapping: $.
    - type: mcp
      namespace: eve-online-contracts-mcp
      port: 9090
      transport: http
      description: MCP adapter for EVE Online ESI — Contracts. One tool per consumed operation, routed inline through this capability's consumes block.
      tools:
        - name: get-contracts
          description: EVE Online Get Contracts
          hints:
            readOnly: true
            destructive: false
            idempotent: true
          call: eve-online-contracts.get_characters_character_id_contracts
          with: {}
          outputParameters:
            - type: object
              mapping: $.
        - name: get-contract-bids
          description: EVE Online Get Contract Bids
          hints:
            readOnly: true
            destructive: false
            idempotent: true
          call: eve-online-contracts.get_characters_character_id_contracts_contract_id_bids
          with:
            contract_id: tools.contract_id
          outputParameters:
            - type: object
              mapping: $.
        - name: get-contract-items
          description: EVE Online Get Contract Items
          hints:
            readOnly: true
            destructive: false
            idempotent: true
          call: eve-online-contracts.get_characters_character_id_contracts_contract_id_items
          with:
            contract_id: tools.contract_id
          outputParameters:
            - type: object
              mapping: $.
        - name: get-public-contract-bids
          description: EVE Online Get Public Contract Bids
          hints:
            readOnly: true
            destructive: false
            idempotent: true
          call: eve-online-contracts.get_contracts_public_bids_contract_id
          with:
            contract_id: tools.contract_id
          outputParameters:
            - type: object
              mapping: $.
        - name: get-public-contract-items
          description: EVE Online Get Public Contract Items
          hints:
            readOnly: true
            destructive: false
            idempotent: true
          call: eve-online-contracts.get_contracts_public_items_contract_id
          with:
            contract_id: tools.contract_id
          outputParameters:
            - type: object
              mapping: $.
        - name: get-public-contracts
          description: EVE Online Get Public Contracts
          hints:
            readOnly: true
            destructive: false
            idempotent: true
          call: eve-online-contracts.get_contracts_public_region_id
          with:
            region_id: tools.region_id
          outputParameters:
            - type: object
              mapping: $.
        - name: get-corporation-contracts
          description: EVE Online Get Corporation Contracts
          hints:
            readOnly: true
            destructive: false
            idempotent: true
          call: eve-online-contracts.get_corporations_corporation_id_contracts
          with: {}
          outputParameters:
            - type: object
              mapping: $.
        - name: get-corporation-contract-bids
          description: EVE Online Get Corporation Contract Bids
          hints:
            readOnly: true
            destructive: false
            idempotent: true
          call: eve-online-contracts.get_corporations_corporation_id_contracts_contract_id_bids
          with:
            contract_id: tools.contract_id
          outputParameters:
            - type: object
              mapping: $.
        - name: get-corporation-contract-items
          description: EVE Online Get Corporation Contract Items
          hints:
            readOnly: true
            destructive: false
            idempotent: true
          call: eve-online-contracts.get_corporations_corporation_id_contracts_contract_id_items
          with:
            contract_id: tools.contract_id
          outputParameters:
            - type: object
              mapping: $.