Übersicht

Set translation mode

MCPset_translation_mode
WRITE$0.00001 / call
Features

Set the translation workflow mode for a workspace: 'auto' (Docsbook AI), 'manual' (drafts via API), or 'external' (forward to webhook).

Input3
Authorizationheaderrequired
Your API key, for the REST call. Sent from your browser straight to the API — never to Docsbook, never stored.
workspace_idstringrequired
Numeric workspace id — OR the project as the user names it: 'owner/repo', the repo name alone, the site's display name, its docs URL or custom domain. Text is resolved server-side; an ambiguous name returns the candidates instead of guessing, so pass what the user said rather than calling list_workspaces first.
modestringrequired
Translation workflow mode One of: auto, manual, external.
external_webhook_urlstring
Webhook URL (required for 'external' mode, empty string clears)
Output4
statusstring
workspace_idnumber
translation_modestring
external_translation_webhook_urlstring
null
Limitations
  • REQUIRES PRO or higher.
Example input
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "set_translation_mode",
    "arguments": {
      "workspace_id": "<workspace_id>",
      "mode": "auto"
    }
  }
}
Example output
{
  "status": "<status>",
  "workspace_id": 0,
  "translation_mode": "<translation_mode>",
  "external_translation_webhook_url": "<external_translation_webhook_url>"
}

Aktualisiert

War diese Seite hilfreich?