naftiko: 1.0.0-alpha2 info: label: HubSpot CRM Deals API — Batch description: 'HubSpot CRM Deals API — Batch. 4 operations. Lead operation: Hubspot Batch Archive Deals. Self-contained Naftiko capability covering one Hubspot business surface.' tags: - Hubspot - Batch created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: HUBSPOT_API_KEY: HUBSPOT_API_KEY capability: consumes: - type: http namespace: crm-deals-batch baseUri: https://api.hubapi.com description: HubSpot CRM Deals API — Batch business capability. Self-contained, no shared references. resources: - name: crm-v3-objects-deals-batch-archive path: /crm/v3/objects/deals/batch/archive operations: - name: batcharchivedeals method: POST description: Hubspot Batch Archive Deals outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: crm-v3-objects-deals-batch-create path: /crm/v3/objects/deals/batch/create operations: - name: batchcreatedeals method: POST description: Hubspot Batch Create Deals outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: crm-v3-objects-deals-batch-read path: /crm/v3/objects/deals/batch/read operations: - name: batchreaddeals method: POST description: Hubspot Batch Read Deals outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: crm-v3-objects-deals-batch-update path: /crm/v3/objects/deals/batch/update operations: - name: batchupdatedeals method: POST description: Hubspot Batch Update Deals outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true authentication: type: bearer token: '{{env.HUBSPOT_API_KEY}}' exposes: - type: rest namespace: crm-deals-batch-rest port: 8080 description: REST adapter for HubSpot CRM Deals API — Batch. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/crm/v3/objects/deals/batch/archive name: crm-v3-objects-deals-batch-archive description: REST surface for crm-v3-objects-deals-batch-archive. operations: - method: POST name: batcharchivedeals description: Hubspot Batch Archive Deals call: crm-deals-batch.batcharchivedeals with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/crm/v3/objects/deals/batch/create name: crm-v3-objects-deals-batch-create description: REST surface for crm-v3-objects-deals-batch-create. operations: - method: POST name: batchcreatedeals description: Hubspot Batch Create Deals call: crm-deals-batch.batchcreatedeals with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/crm/v3/objects/deals/batch/read name: crm-v3-objects-deals-batch-read description: REST surface for crm-v3-objects-deals-batch-read. operations: - method: POST name: batchreaddeals description: Hubspot Batch Read Deals call: crm-deals-batch.batchreaddeals with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/crm/v3/objects/deals/batch/update name: crm-v3-objects-deals-batch-update description: REST surface for crm-v3-objects-deals-batch-update. operations: - method: POST name: batchupdatedeals description: Hubspot Batch Update Deals call: crm-deals-batch.batchupdatedeals with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: crm-deals-batch-mcp port: 9090 transport: http description: MCP adapter for HubSpot CRM Deals API — Batch. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: hubspot-batch-archive-deals description: Hubspot Batch Archive Deals hints: readOnly: false destructive: false idempotent: false call: crm-deals-batch.batcharchivedeals with: body: tools.body outputParameters: - type: object mapping: $. - name: hubspot-batch-create-deals description: Hubspot Batch Create Deals hints: readOnly: false destructive: false idempotent: false call: crm-deals-batch.batchcreatedeals with: body: tools.body outputParameters: - type: object mapping: $. - name: hubspot-batch-read-deals description: Hubspot Batch Read Deals hints: readOnly: false destructive: false idempotent: false call: crm-deals-batch.batchreaddeals with: body: tools.body outputParameters: - type: object mapping: $. - name: hubspot-batch-update-deals description: Hubspot Batch Update Deals hints: readOnly: false destructive: false idempotent: false call: crm-deals-batch.batchupdatedeals with: body: tools.body outputParameters: - type: object mapping: $.