create_publication
Create a new publication on cwbe by providing a title, publication type, copyright terms, multilingual headers and descriptions, a readme, and a cover image path.
Instructions
Create a new publication on cwbe. All 9 langs are required in both
headers and descriptions. cover_path is an absolute local path to
a JPEG cover image (required by cwbe).
Args: title: Canonical title (e.g. "The Iliad"). publication_type: "ONETIME_UPLOAD" | "CONTINUOUS_UPLOADS". copyright_terms: List of terms (e.g. ["PUBLICATION_PLUS_95", "LIFE_PLUS_70", "UNKNOWN", "LIFE_PLUS_100"]). headers: Per-lang display title, ALL 9 langs required. descriptions: Per-lang summary, ALL 9 langs required. readme: Authoring README markdown (style guide, glossary, etc.). cover_path: Absolute path to cover JPEG. archived: Default False. is_complete: Default False.
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": {
"title": "<title>",
"publication_type": "<publication_type>",
"copyright_terms": "<copyright_terms>",
"headers": "<headers>",
"descriptions": "<descriptions>",
"readme": "<readme>",
"cover_path": "<cover_path>"
},
"name": "create_publication"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | ||
| publication_type | Yes | ||
| copyright_terms | Yes | ||
| headers | Yes | ||
| descriptions | Yes | ||
| readme | Yes | ||
| cover_path | Yes | ||
| archived | No | ||
| is_complete | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |