Cấu hình hộp agent
mail_inbox_updateSet an inbox to redirect, store, or AI-handle mail; configure forwarding, Telegram alerts, and active status.
Instructions
Khi cần đặt cách hộp xử lý thư: mode redirect (tự forward thư về email chủ) | store (chỉ lưu) | ai (để AI trực), địa chỉ forward_to, chat Telegram nhận báo, hoặc bật/tắt hộp. / Use to configure an inbox: redirect-forward email, Telegram chat, mode, active.
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": {
"inbox_id": "<inbox_id>"
},
"name": "mail_inbox_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | redirect=tự forward về forward_to · store=chỉ lưu · ai=để AI trực. | |
| active | No | ||
| inbox_id | Yes | ||
| forward_to | No | Email chủ nhận bản forward khi mode=redirect. | |
| notify_telegram | No | chat_id Telegram nhận ping khi có thư. |