update_document
Modify existing RSpace document content, name, tags, or metadata to keep research documentation current and organized.
Instructions
Updates existing RSpace document content and metadata
Usage: Modify document name, tags, or field content Fields format: [{"id": field_id, "content": "new HTML content"}] Returns: Updated document information
Input Schema
Name | Required | Description | Default |
---|---|---|---|
document_id | Yes | ||
fields | No | ||
form_id | No | ||
name | No | ||
tags | No |
Input Schema (JSON Schema)
{
"properties": {
"document_id": {
"anyOf": [
{
"type": "integer"
},
{
"type": "string"
}
],
"title": "Document Id"
},
"fields": {
"default": null,
"items": {
"additionalProperties": true,
"type": "object"
},
"title": "Fields",
"type": "array"
},
"form_id": {
"anyOf": [
{
"type": "integer"
},
{
"type": "string"
}
],
"default": null,
"title": "Form Id"
},
"name": {
"default": null,
"title": "Name",
"type": "string"
},
"tags": {
"default": null,
"items": {
"type": "string"
},
"title": "Tags",
"type": "array"
}
},
"required": [
"document_id"
],
"type": "object"
}