Amazon Neptune · Capability

Amazon Neptune Neptune Gremlin API — Query

Amazon Neptune Neptune Gremlin API — Query. 2 operations. Lead operation: Amazon Neptune Execute a Gremlin Traversal via HTTP POST. Self-contained Naftiko capability covering one Amazon Neptune business surface.

Run with Naftiko Amazon NeptuneQuery

What You Can Do

POST
Executegremlintraversal — Amazon Neptune Execute a Gremlin Traversal via HTTP POST
/v1/gremlin
GET
Executegremlintraversalget — Amazon Neptune Execute a Gremlin Traversal via HTTP GET
/v1/gremlin

MCP Tools

amazon-neptune-execute-gremlin-traversal

Amazon Neptune Execute a Gremlin Traversal via HTTP POST

amazon-neptune-execute-gremlin-traversal-2

Amazon Neptune Execute a Gremlin Traversal via HTTP GET

read-only idempotent

Capability Spec

gremlin-query.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Amazon Neptune Neptune Gremlin API — Query
  description: 'Amazon Neptune Neptune Gremlin API — Query. 2 operations. Lead operation: Amazon Neptune Execute a Gremlin
    Traversal via HTTP POST. Self-contained Naftiko capability covering one Amazon Neptune business surface.'
  tags:
  - Amazon Neptune
  - Query
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    AMAZON_NEPTUNE_API_KEY: AMAZON_NEPTUNE_API_KEY
capability:
  consumes:
  - type: http
    namespace: gremlin-query
    baseUri: https://{cluster-endpoint}:8182
    description: Amazon Neptune Neptune Gremlin API — Query business capability. Self-contained, no shared references.
    resources:
    - name: gremlin
      path: /gremlin
      operations:
      - name: executegremlintraversal
        method: POST
        description: Amazon Neptune Execute a Gremlin Traversal via HTTP POST
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: executegremlintraversalget
        method: GET
        description: Amazon Neptune Execute a Gremlin Traversal via HTTP GET
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: gremlin
          in: query
          type: string
          description: The Gremlin traversal query string (URL-encoded).
          required: true
    authentication:
      type: apikey
      key: Authorization
      value: '{{env.AMAZON_NEPTUNE_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: gremlin-query-rest
    port: 8080
    description: REST adapter for Amazon Neptune Neptune Gremlin API — Query. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/gremlin
      name: gremlin
      description: REST surface for gremlin.
      operations:
      - method: POST
        name: executegremlintraversal
        description: Amazon Neptune Execute a Gremlin Traversal via HTTP POST
        call: gremlin-query.executegremlintraversal
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: executegremlintraversalget
        description: Amazon Neptune Execute a Gremlin Traversal via HTTP GET
        call: gremlin-query.executegremlintraversalget
        with:
          gremlin: rest.gremlin
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: gremlin-query-mcp
    port: 9090
    transport: http
    description: MCP adapter for Amazon Neptune Neptune Gremlin API — Query. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: amazon-neptune-execute-gremlin-traversal
      description: Amazon Neptune Execute a Gremlin Traversal via HTTP POST
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: gremlin-query.executegremlintraversal
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: amazon-neptune-execute-gremlin-traversal-2
      description: Amazon Neptune Execute a Gremlin Traversal via HTTP GET
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: gremlin-query.executegremlintraversalget
      with:
        gremlin: tools.gremlin
      outputParameters:
      - type: object
        mapping: $.