generate_mail
Generate Laravel 13 Mailable classes with markdown templates, attachments, and queue support. Specify mail name, subject, recipient, and options.
Instructions
Generate a Laravel 13 Mailable class with markdown templates, attachments, and queue support.
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": {
"mailName": "<mailName>",
"subject": "<subject>"
},
"name": "generate_mail"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| subject | Yes | Email subject | |
| hasQueue | No | ||
| mailName | Yes | Mail class name e.g. 'WelcomeEmail' | |
| recipient | No | Recipient type or placeholder | |
| hasAttachment | No | ||
| markdownTemplate | No |