Generate Layout Proposals
generate_recipeAnalyze a sample file and generate layout proposals. Accepts images, PDF, CSV, Excel (xlsx), Markdown, and plain text (e.g. a layout specification document). AI automatically detects the document type and suggests appropriate field definitions. Requires Standard plan or higher. Daily limit: 50 uses.
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": {
"image_url": "<image_url>"
},
"name": "generate_recipe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comment | No | Optional user comment to guide AI analysis (e.g., 'I want to extract invoice line items', 'Focus on product names and prices'). Max 500 characters. | |
| image_url | Yes | URL of the file to analyze (HTTPS). Supports image/PDF samples and CSV/Excel/Markdown/plain-text documents. Only single file URLs are supported; folder URLs are not accepted. | |
| field_language | No | Language for generated field descriptions and layout names. Supported: ja (Japanese, default), en (English), es (Spanish), fr (French), zh (Simplified Chinese). |