set_text_direction
Set text direction in HWP documents to horizontal or vertical using the document ID and a direction flag (0=horizontal, 1=vertical).
Instructions
Set text direction (horizontal/vertical).
Args: doc_id: Document ID from open_document text_direction: 0=horizontal, 1=vertical landscape: Landscape mode flag
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": "set_text_direction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_id | Yes | ||
| landscape | No | ||
| text_direction | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||