naftiko: 1.0.0-alpha2 info: label: Veeva Vault API — Query description: 'Veeva Vault API — Query. 1 operations. Lead operation: Execute a VQL query. Self-contained Naftiko capability covering one Veeva Systems business surface.' tags: - Veeva Systems - Query created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: VEEVA_SYSTEMS_API_KEY: VEEVA_SYSTEMS_API_KEY capability: consumes: - type: http namespace: veeva-systems-query baseUri: https://{vaultDNS}/api/{version} description: Veeva Vault API — Query business capability. Self-contained, no shared references. resources: - name: query path: /query operations: - name: post method: POST description: Execute a VQL query 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: Authorization value: '{{env.VEEVA_SYSTEMS_API_KEY}}' placement: header exposes: - type: rest namespace: veeva-systems-query-rest port: 8080 description: REST adapter for Veeva Vault API — Query. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/query name: query description: REST surface for query. operations: - method: POST name: post description: Execute a VQL query call: veeva-systems-query.post with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: veeva-systems-query-mcp port: 9090 transport: http description: MCP adapter for Veeva Vault API — Query. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: execute-vql-query description: Execute a VQL query hints: readOnly: true destructive: false idempotent: false call: veeva-systems-query.post with: body: tools.body outputParameters: - type: object mapping: $.