Make an Arabic, Urdu or Persian PDF
make_pdf_arabicCreate a PDF from Arabic, Urdu or Persian text, or text that mixes them with English, with every letter correctly joined, lines running right to left, and numbers, dates, phone numbers and Latin words kept in order. Suited to PDFs, printable files, letters, notices, invoices, certificates, menus and handouts in Arabic, Urdu or Persian. The text is printed exactly as given; light Markdown is supported: '# ' headings, blank lines between paragraphs, '- ' bullets, '1. ' numbered lists, '| a | b |' tables (a '|---|' row marks a header) and bold. Returns a download link that works for 24 hours. It only lays out text: it does not write, translate or change wording, and it does not make images.
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": {
"text": "<text>"
},
"name": "make_pdf_arabic"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| font | No | 'auto' picks Nastaliq for Urdu and Naskh otherwise. Cairo and Tajawal are modern sans styles. | auto |
| text | Yes | The full text to print, in Arabic, Urdu or Persian (English may be mixed in). Light Markdown allowed. | |
| bleed | No | Add 3 mm bleed and crop marks for professional printing. | |
| paper | No | Page size. | A4 |
| title | No | Document title for the PDF metadata and file name. Defaults to the first heading. | |
| justify | No | Justify paragraph lines. | |
| archival | No | Export as PDF/A-2a with PDF/UA-1 (archival and accessible), falling back to PDF/A-2b. | |
| language | No | Language of the text. 'auto' detects Urdu and Persian letters. | auto |
| font_size | No | Text size in points, 7 to 28. Leave empty for the font's default. | |
| page_numbers | No | Print page numbers when there is more than one page. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| font | Yes | ||
| pages | Yes | ||
| paper | Yes | ||
| title | Yes | ||
| language | Yes | ||
| warnings | No | ||
| standards | No | PDF standards applied, if any. | |
| expires_at | Yes | UTC time after which the link stops working. | |
| download_url | Yes | Link to the PDF. |