Generate document draft
generate_documentGenerate an AI document draft from the project. Returns HTML but does not save or replace the current document; show it to the user before any later save workflow.
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": {
"projectUid": "<projectUid>"
},
"name": "generate_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | No | ||
| projectUid | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | Yes |