update_section
Modify and save the content of a specific section in a Markdown document, ensuring validation and optional auto-save and backup functionality.
Instructions
Update the content of an existing section.
The document will be saved after the operation if successful and auto_save is True.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
auto_save | No | ||
backup | No | ||
content | Yes | ||
document_path | Yes | ||
section_id | Yes | ||
validation_level | No | NORMAL |
Input Schema (JSON Schema)
{
"properties": {
"auto_save": {
"default": true,
"title": "Auto Save",
"type": "boolean"
},
"backup": {
"default": true,
"title": "Backup",
"type": "boolean"
},
"content": {
"title": "Content",
"type": "string"
},
"document_path": {
"title": "Document Path",
"type": "string"
},
"section_id": {
"title": "Section Id",
"type": "string"
},
"validation_level": {
"default": "NORMAL",
"title": "Validation Level",
"type": "string"
}
},
"required": [
"document_path",
"section_id",
"content"
],
"title": "update_sectionArguments",
"type": "object"
}