Create Document
documents_create_documentCreate a finished document for a company from a template slug and field values.
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": {
"companyId": "<companyId>"
},
"name": "documents_create_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | No | ||
| companyId | Yes | UUID value wrapper. | |
| templateSlug | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| documentId | Yes |