Animate Arabic handwriting
render_arabic_handwritingAnimates Arabic text as handwriting: in a widget, a blue ballpoint pen writes it stroke by stroke, with pause and replay and a PNG or animated GIF download, framed as the original or vertical 9:16 (for a story or reel), on paper or a transparent background. Use when the user wants Arabic words or a short phrase handwritten, animated, written by a pen, or saved as a handwriting image or GIF. The text must be in Arabic script, up to 120 characters. The pen writes Arabic letters, Arabic and Western digits, and ، ؛ ؟ ! . : ( ); vowel marks (harakat) are left out and the result says so; any other character is refused rather than dropped. Do not change or translate the user's Arabic wording. If the user gives a name in Latin letters, first call write_name_in_arabic and pass its Arabic spelling here. The handwriting is drawn on the user's device in the widget; the result returns the checked text and, for clients without widgets, a link to the handwriting tool. Keep the reply short and do not reproduce the handwriting in text.
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": "render_arabic_handwriting"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The Arabic text to write, exactly as the user wants it (e.g. 'السلام عليكم'). Up to 120 characters once vowel marks are removed. | |
| format | No | 'vertical' for a 9:16 story, reel or phone wallpaper; otherwise 'original'. | |
| language | No | Language of the widget and messages: 'fr' when the user writes in French, otherwise 'en'. | |
| background | No | 'transparent' when the user wants to overlay the writing on a picture or video; otherwise 'paper'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | Yes | ||
| text | Yes | ||
| notes | Yes | ||
| words | Yes | ||
| format | Yes | ||
| status | Yes | ||
| toolUrl | Yes | ||
| background | Yes |