naftiko: 1.0.0-alpha2 info: label: Spider Cloud API — Browser and Screenshot description: 'Spider Cloud API — Browser and Screenshot. Capture full-page or viewport screenshots and invoke per-domain AI-discovered fetch APIs via cloud headless browsers. Self-contained Naftiko capability covering the browser business surface.' tags: - Spider Cloud - Browser - Screenshot - Headless Browser created: '2026-05-25' modified: '2026-05-25' binds: - namespace: env keys: SPIDER_CLOUD_API_KEY: SPIDER_CLOUD_API_KEY capability: consumes: - type: http namespace: spider-cloud-browser baseUri: https://api.spider.cloud description: Spider Cloud API — Browser and Screenshot business capability. Self-contained, no shared references. resources: - name: screenshot path: /screenshot operations: - name: screenshot method: POST description: Capture a full-page or viewport screenshot of a URL. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: fetch-domain path: /fetch/{domain}/{path} operations: - name: fetchdomain method: POST description: Invoke a per-website API discovered and pre-configured by Spider's AI fetch system. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: domain in: path type: string description: The target domain. required: true - name: path in: path type: string description: The fetch operation path under the domain. required: true - name: body in: body type: object description: Request body (JSON). required: false authentication: type: bearer token: '{{env.SPIDER_CLOUD_API_KEY}}' exposes: - type: rest namespace: spider-cloud-browser-rest port: 8080 description: REST adapter for Spider Cloud API — Browser and Screenshot. resources: - path: /v1/screenshot name: screenshot description: REST surface for screenshot. operations: - method: POST name: screenshot description: Capture a full-page or viewport screenshot. call: spider-cloud-browser.screenshot with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/fetch/{domain}/{path} name: fetch-domain description: REST surface for fetch-domain. operations: - method: POST name: fetchdomain description: Invoke a per-website AI-discovered fetch operation. call: spider-cloud-browser.fetchdomain with: domain: rest.domain path: rest.path body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: spider-cloud-browser-mcp port: 9090 transport: http description: MCP adapter for Spider Cloud API — Browser and Screenshot. tools: - name: capture-screenshot description: Capture a full-page or viewport screenshot of a URL. hints: readOnly: true destructive: false idempotent: false call: spider-cloud-browser.screenshot with: body: tools.body outputParameters: - type: object mapping: $. - name: fetch-per-domain description: Invoke a per-website API discovered and pre-configured by Spider's AI fetch system. hints: readOnly: true destructive: false idempotent: false call: spider-cloud-browser.fetchdomain with: domain: tools.domain path: tools.path body: tools.body outputParameters: - type: object mapping: $.