insert_section
Add a new section with specified heading and content into a Markdown document at a defined position. Optionally enable auto-saving and backup for secure document management.
Instructions
Insert a new section at a specified location.
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 | ||
heading | Yes | ||
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"
},
"content": {
"title": "Content",
"type": "string"
},
"document_path": {
"title": "Document Path",
"type": "string"
},
"heading": {
"title": "Heading",
"type": "string"
},
"position": {
"title": "Position",
"type": "integer"
},
"validation_level": {
"default": "NORMAL",
"title": "Validation Level",
"type": "string"
}
},
"required": [
"document_path",
"heading",
"content",
"position"
],
"title": "insert_sectionArguments",
"type": "object"
}