Adobe Campaign · Capability

Adobe Campaign Classic API — Query Definition

Adobe Campaign Classic API — Query Definition. 1 operations. Lead operation: Adobe Campaign Execute a Query. Self-contained Naftiko capability covering one Adobe Campaign business surface.

Run with Naftiko Adobe CampaignQuery Definition

What You Can Do

POST
Executequery — Adobe Campaign Execute a Query
/v1/nl/jsp/soaprouter-jsp/xtk-querydef/executequery

MCP Tools

adobe-campaign-execute-query

Adobe Campaign Execute a Query

read-only

Capability Spec

classic-query-definition.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Adobe Campaign Classic API — Query Definition
  description: 'Adobe Campaign Classic API — Query Definition. 1 operations. Lead operation: Adobe Campaign Execute a Query.
    Self-contained Naftiko capability covering one Adobe Campaign business surface.'
  tags:
  - Adobe Campaign
  - Query Definition
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    ADOBE_CAMPAIGN_API_KEY: ADOBE_CAMPAIGN_API_KEY
capability:
  consumes:
  - type: http
    namespace: classic-query-definition
    baseUri: https://{instance}.campaign.adobe.com
    description: Adobe Campaign Classic API — Query Definition business capability. Self-contained, no shared references.
    resources:
    - name: nl-jsp-soaprouter.jsp-xtk-queryDef-ExecuteQuery
      path: /nl/jsp/soaprouter.jsp/xtk-queryDef/ExecuteQuery
      operations:
      - name: executequery
        method: POST
        description: Adobe Campaign Execute a Query
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: SOAPAction
          in: header
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: apikey
      key: X-Security-Token
      value: '{{env.ADOBE_CAMPAIGN_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: classic-query-definition-rest
    port: 8080
    description: REST adapter for Adobe Campaign Classic API — Query Definition. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/nl/jsp/soaprouter-jsp/xtk-querydef/executequery
      name: nl-jsp-soaprouter-jsp-xtk-querydef-executequery
      description: REST surface for nl-jsp-soaprouter.jsp-xtk-queryDef-ExecuteQuery.
      operations:
      - method: POST
        name: executequery
        description: Adobe Campaign Execute a Query
        call: classic-query-definition.executequery
        with:
          SOAPAction: rest.SOAPAction
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: classic-query-definition-mcp
    port: 9090
    transport: http
    description: MCP adapter for Adobe Campaign Classic API — Query Definition. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: adobe-campaign-execute-query
      description: Adobe Campaign Execute a Query
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: classic-query-definition.executequery
      with:
        SOAPAction: tools.SOAPAction
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.