insert_text_at_position
Insert text into LibreOffice Writer documents at specified positions: start, end, or replace existing content.
Instructions
Insert text into a LibreOffice Writer document
Args:
path: Path to the document file
text: Text to insert
position: Where to insert the text ("start", "end", or "replace")
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>",
"text": "<text>"
},
"name": "insert_text_at_position"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| text | Yes | ||
| position | No | end |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Full path to the document | |
| exists | Yes | Whether the file exists | |
| format | Yes | Document format (odt, ods, odp, etc.) | |
| filename | Yes | Document filename | |
| size_bytes | Yes | File size in bytes | |
| modified_time | Yes | Last modification time |