List templates and writing samples
list_templatesList mail templates or fetch one by name; optionally return sent-mail style samples for tone, length, and language. Requires read access.
Instructions
Lists templates in "mailmcp-templates", or one in full by name. samples=true returns the style profile and samples of the owner's sent mail, for tone, length and language only. Needs read; every plan.
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": {
"account": "<account>"
},
"name": "list_templates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | No | Samples, default 5 | |
| to | No | samples: sent to this address first | |
| name | No | ||
| account | Yes | list_accounts id | |
| samples | No | ||
| continue | No | From an incomplete result | |
| max_chars | No | Per sample, default 600 |