DreamFactory · Capability

DreamFactory System API — Lookup

DreamFactory System API — Lookup. 2 operations. Lead operation: DreamFactory List lookups. Self-contained Naftiko capability covering one Dreamfactory business surface.

Run with Naftiko DreamfactoryLookup

What You Can Do

GET
Listlookups — DreamFactory List lookups
/v1/system/lookup
POST
Createlookup — DreamFactory Create lookup
/v1/system/lookup

MCP Tools

dreamfactory-list-lookups

DreamFactory List lookups

read-only idempotent
dreamfactory-create-lookup

DreamFactory Create lookup

read-only

Capability Spec

system-lookup.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: DreamFactory System API — Lookup
  description: 'DreamFactory System API — Lookup. 2 operations. Lead operation: DreamFactory List lookups. Self-contained
    Naftiko capability covering one Dreamfactory business surface.'
  tags:
  - Dreamfactory
  - Lookup
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    DREAMFACTORY_API_KEY: DREAMFACTORY_API_KEY
capability:
  consumes:
  - type: http
    namespace: system-lookup
    baseUri: https://{instance}/api/v2
    description: DreamFactory System API — Lookup business capability. Self-contained, no shared references.
    resources:
    - name: system-lookup
      path: /system/lookup
      operations:
      - name: listlookups
        method: GET
        description: DreamFactory List lookups
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createlookup
        method: POST
        description: DreamFactory Create lookup
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: apikey
      key: X-DreamFactory-Session-Token
      value: '{{env.DREAMFACTORY_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: system-lookup-rest
    port: 8080
    description: REST adapter for DreamFactory System API — Lookup. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/system/lookup
      name: system-lookup
      description: REST surface for system-lookup.
      operations:
      - method: GET
        name: listlookups
        description: DreamFactory List lookups
        call: system-lookup.listlookups
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createlookup
        description: DreamFactory Create lookup
        call: system-lookup.createlookup
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: system-lookup-mcp
    port: 9090
    transport: http
    description: MCP adapter for DreamFactory System API — Lookup. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: dreamfactory-list-lookups
      description: DreamFactory List lookups
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: system-lookup.listlookups
      outputParameters:
      - type: object
        mapping: $.
    - name: dreamfactory-create-lookup
      description: DreamFactory Create lookup
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: system-lookup.createlookup
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.