Generate document
generate_documentGenerate a professional business document — proposal, report, presentation, or spreadsheet. Returns a downloadable URL (PDF, DOCX, or PPTX). Supports Arabic and English documents. Uses credits on success (see CREDIT COSTS).
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": {
"user_request": "<user_request>"
},
"name": "generate_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| language | No | Document language (default: arabic) | |
| company_name | No | Company or brand name | |
| user_request | Yes | Describe the document (e.g. 'عمل عرض تقديمي لبراند ملابس للمستثمرين', 'create a business proposal for a coffee shop in Cairo') | |
| document_type | No | Type of document |