move_section
Reposition a specified section within a Markdown document to a target location, automatically saving changes if enabled. Ensures document integrity with optional backup and validation.
Instructions
Move a section to a different position.
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 | ||
document_path | Yes | ||
section_id | Yes | ||
target_position | 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"
},
"document_path": {
"title": "Document Path",
"type": "string"
},
"section_id": {
"title": "Section Id",
"type": "string"
},
"target_position": {
"title": "Target Position",
"type": "integer"
},
"validation_level": {
"default": "NORMAL",
"title": "Validation Level",
"type": "string"
}
},
"required": [
"document_path",
"section_id",
"target_position"
],
"title": "move_sectionArguments",
"type": "object"
}