DeepL · Capability

DeepL Translation API — Write

DeepL Translation API — Write. 1 operations. Lead operation: Rephrase or improve text. Self-contained Naftiko capability covering one Deepl business surface.

Run with Naftiko DeeplWrite

What You Can Do

POST
Rephrasetext — Rephrase or improve text
/v1/write/rephrase

MCP Tools

rephrase-improve-text

Rephrase or improve text

Capability Spec

translation-write.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: DeepL Translation API — Write
  description: 'DeepL Translation API — Write. 1 operations. Lead operation: Rephrase or improve text. Self-contained Naftiko
    capability covering one Deepl business surface.'
  tags:
  - Deepl
  - Write
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    DEEPL_API_KEY: DEEPL_API_KEY
capability:
  consumes:
  - type: http
    namespace: translation-write
    baseUri: https://api.deepl.com/v2
    description: DeepL Translation API — Write business capability. Self-contained, no shared references.
    resources:
    - name: write-rephrase
      path: /write/rephrase
      operations:
      - name: rephrasetext
        method: POST
        description: Rephrase or improve text
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: apikey
      key: Authorization
      value: '{{env.DEEPL_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: translation-write-rest
    port: 8080
    description: REST adapter for DeepL Translation API — Write. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/write/rephrase
      name: write-rephrase
      description: REST surface for write-rephrase.
      operations:
      - method: POST
        name: rephrasetext
        description: Rephrase or improve text
        call: translation-write.rephrasetext
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: translation-write-mcp
    port: 9090
    transport: http
    description: MCP adapter for DeepL Translation API — Write. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: rephrase-improve-text
      description: Rephrase or improve text
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: translation-write.rephrasetext
      outputParameters:
      - type: object
        mapping: $.