create_document_from_form
Generate structured documents using predefined form templates with validation and pre-populated fields in RSpace.
Instructions
Creates a structured document using a form template
Usage: Generate documents with predefined structure and validation Fields: Pre-populate form fields with initial data Returns: Created document information
Input Schema
Name | Required | Description | Default |
---|---|---|---|
fields | No | ||
form_id | Yes | ||
name | No | ||
parent_folder_id | No | ||
tags | No |
Input Schema (JSON Schema)
{
"properties": {
"fields": {
"default": null,
"items": {
"additionalProperties": true,
"type": "object"
},
"title": "Fields",
"type": "array"
},
"form_id": {
"anyOf": [
{
"type": "integer"
},
{
"type": "string"
}
],
"title": "Form Id"
},
"name": {
"default": null,
"title": "Name",
"type": "string"
},
"parent_folder_id": {
"anyOf": [
{
"type": "integer"
},
{
"type": "string"
}
],
"default": null,
"title": "Parent Folder Id"
},
"tags": {
"default": null,
"items": {
"type": "string"
},
"title": "Tags",
"type": "array"
}
},
"required": [
"form_id"
],
"type": "object"
}