Canonical Definition
{
"function": {
"description": "Generalizes the email dispatch logic for OS-v3 to send notifications or attached documents (like Payment Agreements) via the local mail server.",
"name": "dispatch_email",
"parameters": {
"properties": {
"attachment_path": {
"description": "Absolute path to a document to attach (e.g. /tmp/acuerdo.pdf).",
"type": "string"
},
"body": {
"description": "The main body text of the email.",
"type": "string"
},
"recipient": {
"description": "Email address of the recipient.",
"type": "string"
},
"subject": {
"description": "Subject of the email.",
"type": "string"
}
},
"required": [
"recipient",
"subject",
"body"
],
"type": "object"
}
},
"type": "function"
}