Create a document
create_documentCreate a new document owned by the author, optionally with a first draft in LaTeX (as rewrite_document). Kinds: article (default), report, book. Returns its id and address; then edit it with the other tools.
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>"
},
"name": "create_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lml | No | Advanced: the first draft in LML, Lilia's internal block markup, instead of LaTeX. | |
| kind | No | article, report or book. Default article. | |
| title | Yes | The document's title. | |
| content | No | Optional first draft in LaTeX, e.g. "\section{Introduction} Text.". |