Create Arabic MS Word Document
create_word_documentCreate a new Word (.docx) document with custom page setup, margins, metadata, and default Arabic font with RTL settings, ready for right-to-left content.
Instructions
Creates a new Microsoft Word (.docx) document with custom page setup, margins, metadata, and default Arabic font and RTL settings.
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": {
"filePath": "<filePath>"
},
"name": "create_word_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | Document title metadata | |
| author | No | Document author metadata | |
| subject | No | Document subject metadata | |
| filePath | Yes | Output .docx file path relative to workspace or absolute | |
| pageSize | No | Paper size | A4 |
| defaultFont | No | Default Arabic font family | Amiri |
| marginTopCm | No | Top margin in cm | |
| orientation | No | Page orientation | portrait |
| marginLeftCm | No | Left margin in cm | |
| marginRightCm | No | Right margin in cm | |
| marginBottomCm | No | Bottom margin in cm |