ScreenshotOne · Capability

ScreenshotOne API — Screenshots

ScreenshotOne API — Screenshots. 2 operations. Lead operation: Take a screenshot. Self-contained Naftiko capability covering one Screenshotone business surface.

Run with Naftiko ScreenshotoneScreenshots

What You Can Do

GET
Get — Take a screenshot
/v1/take
POST
Post — Take a screenshot (POST)
/v1/take

MCP Tools

take-screenshot

Take a screenshot

read-only idempotent
take-screenshot-post

Take a screenshot (POST)

Capability Spec

screenshotone-screenshots.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: ScreenshotOne API — Screenshots
  description: 'ScreenshotOne API — Screenshots. 2 operations. Lead operation: Take a screenshot. Self-contained Naftiko capability
    covering one Screenshotone business surface.'
  tags:
  - Screenshotone
  - Screenshots
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    SCREENSHOTONE_API_KEY: SCREENSHOTONE_API_KEY
capability:
  consumes:
  - type: http
    namespace: screenshotone-screenshots
    baseUri: https://api.screenshotone.com
    description: ScreenshotOne API — Screenshots business capability. Self-contained, no shared references.
    resources:
    - name: take
      path: /take
      operations:
      - name: get
        method: GET
        description: Take a screenshot
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: post
        method: POST
        description: Take a screenshot (POST)
        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: access_key
      value: '{{env.SCREENSHOTONE_API_KEY}}'
      placement: query
  exposes:
  - type: rest
    namespace: screenshotone-screenshots-rest
    port: 8080
    description: REST adapter for ScreenshotOne API — Screenshots. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/take
      name: take
      description: REST surface for take.
      operations:
      - method: GET
        name: get
        description: Take a screenshot
        call: screenshotone-screenshots.get
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: post
        description: Take a screenshot (POST)
        call: screenshotone-screenshots.post
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: screenshotone-screenshots-mcp
    port: 9090
    transport: http
    description: MCP adapter for ScreenshotOne API — Screenshots. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: take-screenshot
      description: Take a screenshot
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: screenshotone-screenshots.get
      outputParameters:
      - type: object
        mapping: $.
    - name: take-screenshot-post
      description: Take a screenshot (POST)
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: screenshotone-screenshots.post
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.