naftiko: 1.0.0-alpha2 info: label: Amazon Step Functions API — Executions description: 'Amazon Step Functions API — Executions. 4 operations. Lead operation: Amazon Step Functions Describe an execution. Self-contained Naftiko capability covering one Amazon Step Functions business surface.' tags: - Amazon Step Functions - Executions created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: AMAZON_STEP_FUNCTIONS_API_KEY: AMAZON_STEP_FUNCTIONS_API_KEY capability: consumes: - type: http namespace: amazon-step-functions-executions baseUri: https://states.{region}.amazonaws.com description: Amazon Step Functions API — Executions business capability. Self-contained, no shared references. resources: - name: '#X-Amz-Target=AWSStepFunctions.DescribeExecution' path: /#X-Amz-Target=AWSStepFunctions.DescribeExecution operations: - name: describeexecution method: POST description: Amazon Step Functions Describe an execution outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: '#X-Amz-Target=AWSStepFunctions.ListExecutions' path: /#X-Amz-Target=AWSStepFunctions.ListExecutions operations: - name: listexecutions method: POST description: Amazon Step Functions List executions of a state machine outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: '#X-Amz-Target=AWSStepFunctions.StartExecution' path: /#X-Amz-Target=AWSStepFunctions.StartExecution operations: - name: startexecution method: POST description: Amazon Step Functions Start a state machine execution outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: '#X-Amz-Target=AWSStepFunctions.StopExecution' path: /#X-Amz-Target=AWSStepFunctions.StopExecution operations: - name: stopexecution method: POST description: Amazon Step Functions Stop an execution 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.AMAZON_STEP_FUNCTIONS_API_KEY}}' placement: header exposes: - type: rest namespace: amazon-step-functions-executions-rest port: 8080 description: REST adapter for Amazon Step Functions API — Executions. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/x-amz-target-awsstepfunctions-describeexecution name: x-amz-target-awsstepfunctions-describeexecution description: 'REST surface for #X-Amz-Target=AWSStepFunctions.DescribeExecution.' operations: - method: POST name: describeexecution description: Amazon Step Functions Describe an execution call: amazon-step-functions-executions.describeexecution with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/x-amz-target-awsstepfunctions-listexecutions name: x-amz-target-awsstepfunctions-listexecutions description: 'REST surface for #X-Amz-Target=AWSStepFunctions.ListExecutions.' operations: - method: POST name: listexecutions description: Amazon Step Functions List executions of a state machine call: amazon-step-functions-executions.listexecutions with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/x-amz-target-awsstepfunctions-startexecution name: x-amz-target-awsstepfunctions-startexecution description: 'REST surface for #X-Amz-Target=AWSStepFunctions.StartExecution.' operations: - method: POST name: startexecution description: Amazon Step Functions Start a state machine execution call: amazon-step-functions-executions.startexecution with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/x-amz-target-awsstepfunctions-stopexecution name: x-amz-target-awsstepfunctions-stopexecution description: 'REST surface for #X-Amz-Target=AWSStepFunctions.StopExecution.' operations: - method: POST name: stopexecution description: Amazon Step Functions Stop an execution call: amazon-step-functions-executions.stopexecution with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: amazon-step-functions-executions-mcp port: 9090 transport: http description: MCP adapter for Amazon Step Functions API — Executions. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: amazon-step-functions-describe-execution description: Amazon Step Functions Describe an execution hints: readOnly: false destructive: false idempotent: false call: amazon-step-functions-executions.describeexecution with: body: tools.body outputParameters: - type: object mapping: $. - name: amazon-step-functions-list-executions description: Amazon Step Functions List executions of a state machine hints: readOnly: true destructive: false idempotent: false call: amazon-step-functions-executions.listexecutions with: body: tools.body outputParameters: - type: object mapping: $. - name: amazon-step-functions-start-state description: Amazon Step Functions Start a state machine execution hints: readOnly: false destructive: false idempotent: false call: amazon-step-functions-executions.startexecution with: body: tools.body outputParameters: - type: object mapping: $. - name: amazon-step-functions-stop-execution description: Amazon Step Functions Stop an execution hints: readOnly: false destructive: false idempotent: false call: amazon-step-functions-executions.stopexecution with: body: tools.body outputParameters: - type: object mapping: $.