get_paragraph_style
Retrieve the style name and break type of a paragraph in a LibreOffice Writer document by specifying its index. Defaults to the last paragraph if no index is given.
Instructions
Read a paragraph's style name and break type. Defaults to the last paragraph.
paragraph_index is 0-based; negative indices count from the end, Python-style.
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": {
"doc_id": "<doc_id>"
},
"name": "get_paragraph_style"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_id | Yes | ||
| paragraph_index | No |