Übersicht

Set chat system prompt

MCPset_chat_system_prompt
WRITE$0.00001 / call
Features

Set a custom system prompt for the AI chatbot. Injected with high priority after the default system prompt.

Input2
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.
system_promptstringrequired
Custom system prompt text. Pass empty string to clear.
Output3
statusstring
workspace_idnumber
ai_chat_system_promptstring
Limitations
  • REQUIRES PRO or higher.
Example input
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "set_chat_system_prompt",
    "arguments": {
      "workspace_id": "<workspace_id>",
      "system_prompt": "<system_prompt>"
    }
  }
}
Example output
{
  "status": "<status>",
  "workspace_id": 0,
  "ai_chat_system_prompt": "<ai_chat_system_prompt>"
}

Aktualisiert

War diese Seite hilfreich?