Generate draft with AI
generate_documentWrites a draft Markdown document on a topic with the Anole AI writer and saves it in Content Studio. Uses AI credits (free with an Own Key plan). Not public until published.
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": {
"topic": "<topic>"
},
"name": "generate_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Language code, e.g. en, pl. Defaults to the site language. | |
| site | No | Site domain, e.g. example.com. Optional when the account has one site. | |
| title | No | ||
| topic | Yes |