naftiko: 1.0.0-alpha2 info: label: Microsoft Azure SparkClient — SparkBatch description: 'Microsoft Azure SparkClient — SparkBatch. 4 operations. Lead operation: Microsoft Azure Get Batches. Self-contained Naftiko capability covering one Microsoft Azure business surface.' tags: - Microsoft Azure - SparkBatch created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: MICROSOFT_AZURE_API_KEY: MICROSOFT_AZURE_API_KEY capability: consumes: - type: http namespace: sparkclient-sparkbatch baseUri: '' description: Microsoft Azure SparkClient — SparkBatch business capability. Self-contained, no shared references. resources: - name: batches path: /batches operations: - name: microsoftazuresparkbatchgetsparkbatchjobs method: GET description: Microsoft Azure Get Batches outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: from in: query type: integer description: Optional param specifying which index the list should begin from. - name: size in: query type: integer description: "Optional param specifying the size of the returned list.\r" - name: detailed in: query type: boolean description: Optional query param specifying whether detailed response is returned beyond plain livy. - name: microsoftazuresparkbatchcreatesparkbatchjob method: POST description: Microsoft Azure Post Batches outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: detailed in: query type: boolean description: Optional query param specifying whether detailed response is returned beyond plain livy. - name: sparkBatchJobOptions in: body type: string description: Livy compatible batch job request payload. required: true - name: batches-batchId path: /batches/{batchId} operations: - name: microsoftazuresparkbatchgetsparkbatchjob method: GET description: Microsoft Azure Get Batches Batchid outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: batchId in: path type: integer description: Identifier for the batch job. required: true - name: detailed in: query type: boolean description: Optional query param specifying whether detailed response is returned beyond plain livy. - name: microsoftazuresparkbatchcancelsparkbatchjob method: DELETE description: Microsoft Azure Delete Batches Batchid outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: batchId in: path type: integer description: Identifier for the batch job. required: true exposes: - type: rest namespace: sparkclient-sparkbatch-rest port: 8080 description: REST adapter for Microsoft Azure SparkClient — SparkBatch. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/batches name: batches description: REST surface for batches. operations: - method: GET name: microsoftazuresparkbatchgetsparkbatchjobs description: Microsoft Azure Get Batches call: sparkclient-sparkbatch.microsoftazuresparkbatchgetsparkbatchjobs with: from: rest.from size: rest.size detailed: rest.detailed outputParameters: - type: object mapping: $. - method: POST name: microsoftazuresparkbatchcreatesparkbatchjob description: Microsoft Azure Post Batches call: sparkclient-sparkbatch.microsoftazuresparkbatchcreatesparkbatchjob with: detailed: rest.detailed sparkBatchJobOptions: rest.sparkBatchJobOptions outputParameters: - type: object mapping: $. - path: /v1/batches/{batchid} name: batches-batchid description: REST surface for batches-batchId. operations: - method: GET name: microsoftazuresparkbatchgetsparkbatchjob description: Microsoft Azure Get Batches Batchid call: sparkclient-sparkbatch.microsoftazuresparkbatchgetsparkbatchjob with: batchId: rest.batchId detailed: rest.detailed outputParameters: - type: object mapping: $. - method: DELETE name: microsoftazuresparkbatchcancelsparkbatchjob description: Microsoft Azure Delete Batches Batchid call: sparkclient-sparkbatch.microsoftazuresparkbatchcancelsparkbatchjob with: batchId: rest.batchId outputParameters: - type: object mapping: $. - type: mcp namespace: sparkclient-sparkbatch-mcp port: 9090 transport: http description: MCP adapter for Microsoft Azure SparkClient — SparkBatch. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: microsoft-azure-get-batches description: Microsoft Azure Get Batches hints: readOnly: true destructive: false idempotent: true call: sparkclient-sparkbatch.microsoftazuresparkbatchgetsparkbatchjobs with: from: tools.from size: tools.size detailed: tools.detailed outputParameters: - type: object mapping: $. - name: microsoft-azure-post-batches description: Microsoft Azure Post Batches hints: readOnly: false destructive: false idempotent: false call: sparkclient-sparkbatch.microsoftazuresparkbatchcreatesparkbatchjob with: detailed: tools.detailed sparkBatchJobOptions: tools.sparkBatchJobOptions outputParameters: - type: object mapping: $. - name: microsoft-azure-get-batches-batchid description: Microsoft Azure Get Batches Batchid hints: readOnly: true destructive: false idempotent: true call: sparkclient-sparkbatch.microsoftazuresparkbatchgetsparkbatchjob with: batchId: tools.batchId detailed: tools.detailed outputParameters: - type: object mapping: $. - name: microsoft-azure-delete-batches-batchid description: Microsoft Azure Delete Batches Batchid hints: readOnly: false destructive: true idempotent: true call: sparkclient-sparkbatch.microsoftazuresparkbatchcancelsparkbatchjob with: batchId: tools.batchId outputParameters: - type: object mapping: $.