Save a brand document
save_brand_docSaves a brand, content or content-map document (Markdown or plain text, up to 50,000 characters) under a doc_id such as brand, content or content_map, as a new version; the last 20 versions are kept. Pass base_version (the version you read, 0 when creating) so a concurrent edit is refused instead of overwritten. Nothing is published. Applies after interviewing the user about their brand, summarizing their top posts, or drafting a content map. 繁中:存品牌文件、內容文件或內容地圖,保留最近 20 版。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"doc_id": "<doc_id>",
"content": "<content>"
},
"name": "save_brand_doc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | Up to 100 characters | |
| doc_id | Yes | 1-40 chars of a-z, 0-9, _ or -; suggested: brand, content, content_map | |
| content | Yes | Whole document, Markdown or plain text, up to 50,000 characters | |
| language | No | BCP 47 tag, e.g. zh-TW (default), en, ja | |
| account_id | No | Optional connected account the document belongs to | |
| base_version | No | Version you read; 0 when creating |