Базовые задачи · mail
Мои почтовые ящики
mail_own_mailboxes_m251_readЧтениеКарточка моего ящика · Мои подключённые ящики.
Действия
В tools/call передайте имя инструмента, значение action и параметры действия во вложенном объекте arguments.
Показывает название, почтовый адрес и имя отправителя собственного активного IMAP-ящика по номеру из списка. Даже администратору этот инструмент не открывает чужие ящики. Подключение к почтовому серверу и синхронизация не запускаются. Optional profile=configuration reads fixed own IMAP server/site/service/TLS/status metadata including inactive staged rows. Original ACL model may internally read/decrypt its row; credentials, LOGIN, OPTIONS and OAuth data are never projected or retained in revisions. No connection, sync, activation or send occurs.
mailbox_id- целое число · обязательный параметр
profile- строка
Read fixed own IMAP configuration metadata, including inactive/pending/canceled rows; no connection test.
{
"type": "object",
"properties": {
"mailbox_id": {
"type": "integer",
"minimum": 1,
"maximum": 2147483647
},
"profile": {
"type": "string",
"enum": [
"configuration"
],
"description": "Read fixed own IMAP configuration metadata, including inactive/pending/canceled rows; no connection test."
}
},
"required": [
"mailbox_id"
],
"additionalProperties": false
}Показывает названия и адреса активных IMAP-ящиков, владельцем которых является текущий пользователь. Например, можно выбрать адрес для работы с почтой. Общие ящики и письма здесь не показаны; пароли, настройки серверов и ключи не возвращаются. Optional profile=configuration reads fixed own IMAP server/site/service/TLS/status metadata including inactive staged rows. Original ACL model may internally read/decrypt its row; credentials, LOGIN, OPTIONS and OAuth data are never projected or retained in revisions. No connection, sync, activation or send occurs.
limit- целое число
offset- целое число
profile- строка
Read fixed own IMAP configuration metadata, including inactive/pending/canceled rows; no connection test.
{
"type": "object",
"properties": {
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"offset": {
"type": "integer",
"minimum": 0,
"maximum": 10000
},
"profile": {
"type": "string",
"enum": [
"configuration"
],
"description": "Read fixed own IMAP configuration metadata, including inactive/pending/canceled rows; no connection test."
}
},
"required": [],
"additionalProperties": false
}Предварительная проверка · Обновление настроек своего почтового ящика
mail_own_mailbox_update_previewКарточка моего ящика · Мои подключённые ящики.
mailbox_id- целое число · обязательный параметр
patch- объект · обязательный параметр
{
"type": "object",
"properties": {
"mailbox_id": {
"type": "integer",
"minimum": 1,
"maximum": 2147483647
},
"patch": {
"type": "object",
"properties": {
"name": {
"type": "string",
"maxLength": 255,
"minLength": 1
},
"sender_name": {
"type": "string",
"maxLength": 255
},
"description": {
"type": "string",
"maxLength": 8192
},
"active": {
"type": "boolean"
},
"email": {
"type": "string",
"maxLength": 255
},
"server": {
"type": "string",
"maxLength": 255,
"minLength": 1
},
"port": {
"type": "integer",
"minimum": 1,
"maximum": 65535
},
"link": {
"type": "string",
"maxLength": 255
},
"charset": {
"type": "string",
"maxLength": 64,
"minLength": 1
},
"use_md5": {
"type": "boolean"
},
"delete_messages": {
"type": "boolean"
},
"period_check": {
"type": "integer",
"minimum": 0,
"maximum": 35791394
},
"max_message_count": {
"type": "integer",
"minimum": 0,
"maximum": 2147483647
},
"max_message_bytes": {
"type": "integer",
"minimum": 0,
"maximum": 2147483647
},
"max_keep_days": {
"type": "integer",
"minimum": 0,
"maximum": 2147483647
},
"tls": {
"type": "string",
"enum": [
"N",
"Y",
"S"
]
},
"domains": {
"type": "string",
"maxLength": 255
},
"relay": {
"type": "boolean"
},
"auth_relay": {
"type": "boolean"
}
},
"minProperties": 1,
"maxProperties": 19,
"additionalProperties": false
}
},
"required": [
"mailbox_id",
"patch"
],
"additionalProperties": false
}