Deel · Capability

Endpoints — subpackage_knowledgeHub

Endpoints — subpackage_knowledgeHub. 1 operations. Lead operation: Get Knowledge Hub Country Guides by Country Code. Self-contained Naftiko capability covering one Deel business surface.

Run with Naftiko Deelsubpackage_knowledgeHub

What You Can Do

GET
Getknowledgehubcountryguidesbycountrycode — Get Knowledge Hub Country Guides by Country Code
/v1/knowledge-hub/country-guide/{country-code}

MCP Tools

get-knowledge-hub-country-guides

Get Knowledge Hub Country Guides by Country Code

read-only idempotent

Capability Spec

platform-endpoints-subpackage-knowledgehub.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Endpoints — subpackage_knowledgeHub
  description: 'Endpoints — subpackage_knowledgeHub. 1 operations. Lead operation: Get Knowledge Hub Country Guides by Country
    Code. Self-contained Naftiko capability covering one Deel business surface.'
  tags:
  - Deel
  - subpackage_knowledgeHub
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    DEEL_API_KEY: DEEL_API_KEY
capability:
  consumes:
  - type: http
    namespace: platform-endpoints-subpackage-knowledgehub
    baseUri: https://api.letsdeel.com/rest/v2
    description: Endpoints — subpackage_knowledgeHub business capability. Self-contained, no shared references.
    resources:
    - name: knowledge-hub-country-guide-country_code
      path: /knowledge-hub/country-guide/{country_code}
      operations:
      - name: getknowledgehubcountryguidesbycountrycode
        method: GET
        description: Get Knowledge Hub Country Guides by Country Code
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: country_code
          in: path
          type: string
          description: Country code for which we need to fetch the country guides
          required: true
        - name: Authorization
          in: header
          type: string
          description: '## Authentication'
          required: true
    authentication:
      type: bearer
      token: '{{env.DEEL_API_KEY}}'
  exposes:
  - type: rest
    namespace: platform-endpoints-subpackage-knowledgehub-rest
    port: 8080
    description: REST adapter for Endpoints — subpackage_knowledgeHub. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/knowledge-hub/country-guide/{country-code}
      name: knowledge-hub-country-guide-country-code
      description: REST surface for knowledge-hub-country-guide-country_code.
      operations:
      - method: GET
        name: getknowledgehubcountryguidesbycountrycode
        description: Get Knowledge Hub Country Guides by Country Code
        call: platform-endpoints-subpackage-knowledgehub.getknowledgehubcountryguidesbycountrycode
        with:
          country_code: rest.country_code
          Authorization: rest.Authorization
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: platform-endpoints-subpackage-knowledgehub-mcp
    port: 9090
    transport: http
    description: MCP adapter for Endpoints — subpackage_knowledgeHub. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: get-knowledge-hub-country-guides
      description: Get Knowledge Hub Country Guides by Country Code
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: platform-endpoints-subpackage-knowledgehub.getknowledgehubcountryguidesbycountrycode
      with:
        country_code: tools.country_code
        Authorization: tools.Authorization
      outputParameters:
      - type: object
        mapping: $.