naftiko: 1.0.0-alpha2 info: label: Appium Server API — Screenshots description: 'Appium Server API — Screenshots. 2 operations. Lead operation: Appium Take Element Screenshot. Self-contained Naftiko capability covering one Appium business surface.' tags: - Appium - Screenshots created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: APPIUM_API_KEY: APPIUM_API_KEY capability: consumes: - type: http namespace: server-screenshots baseUri: http://localhost:4723 description: Appium Server API — Screenshots business capability. Self-contained, no shared references. resources: - name: session-sessionId-element-elementId-screenshot path: /session/{sessionId}/element/{elementId}/screenshot operations: - name: getelementscreenshot method: GET description: Appium Take Element Screenshot outputRawFormat: json outputParameters: - name: result type: object value: $. - name: session-sessionId-screenshot path: /session/{sessionId}/screenshot operations: - name: getscreenshot method: GET description: Appium Take Screenshot outputRawFormat: json outputParameters: - name: result type: object value: $. exposes: - type: rest namespace: server-screenshots-rest port: 8080 description: REST adapter for Appium Server API — Screenshots. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/session/{sessionid}/element/{elementid}/screenshot name: session-sessionid-element-elementid-screenshot description: REST surface for session-sessionId-element-elementId-screenshot. operations: - method: GET name: getelementscreenshot description: Appium Take Element Screenshot call: server-screenshots.getelementscreenshot outputParameters: - type: object mapping: $. - path: /v1/session/{sessionid}/screenshot name: session-sessionid-screenshot description: REST surface for session-sessionId-screenshot. operations: - method: GET name: getscreenshot description: Appium Take Screenshot call: server-screenshots.getscreenshot outputParameters: - type: object mapping: $. - type: mcp namespace: server-screenshots-mcp port: 9090 transport: http description: MCP adapter for Appium Server API — Screenshots. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: appium-take-element-screenshot description: Appium Take Element Screenshot hints: readOnly: true destructive: false idempotent: true call: server-screenshots.getelementscreenshot outputParameters: - type: object mapping: $. - name: appium-take-screenshot description: Appium Take Screenshot hints: readOnly: true destructive: false idempotent: true call: server-screenshots.getscreenshot outputParameters: - type: object mapping: $.