naftiko: 1.0.0-alpha2 info: label: AWS Step Functions API — State Machines description: 'AWS Step Functions API — State Machines. 1 operations. Lead operation: Create State Machine. Self-contained Naftiko capability covering one Step Functions business surface.' tags: - Step Functions - State Machines created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: STEP_FUNCTIONS_API_KEY: STEP_FUNCTIONS_API_KEY capability: consumes: - type: http namespace: step-functions-state-machines baseUri: https://states.{region}.amazonaws.com description: AWS Step Functions API — State Machines business capability. Self-contained, no shared references. resources: - name: root path: / operations: - name: createstatemachine method: POST description: Create State Machine 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.STEP_FUNCTIONS_API_KEY}}' placement: header exposes: - type: rest namespace: step-functions-state-machines-rest port: 8080 description: REST adapter for AWS Step Functions API — State Machines. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1 name: root description: REST surface for root. operations: - method: POST name: createstatemachine description: Create State Machine call: step-functions-state-machines.createstatemachine with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: step-functions-state-machines-mcp port: 9090 transport: http description: MCP adapter for AWS Step Functions API — State Machines. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: create-state-machine description: Create State Machine hints: readOnly: false destructive: false idempotent: false call: step-functions-state-machines.createstatemachine with: body: tools.body outputParameters: - type: object mapping: $.