pi-tsgw 1.6.0 → 1.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/skills/tsgw-email/SKILL.md +28 -0
package/package.json
CHANGED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: tsgw-email
|
|
3
|
+
description: 需要处理电子邮件时读取技能
|
|
4
|
+
license: MIT
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# 邮件工具
|
|
8
|
+
|
|
9
|
+
通过 codemode 按需发现和调用 `tsgw_email` 命名空间:先用 `describeNamespace("tsgw_email")` 查看工具,再用 `describeTool("tsgw_email_<工具名>")` 读取本次所需工具的说明和参数,按其提示执行。不预加载整套工具 schema。
|
|
10
|
+
|
|
11
|
+
以下工具均带 `tsgw_email_` 前缀:
|
|
12
|
+
|
|
13
|
+
| 工具 | 用途 |
|
|
14
|
+
| --- | --- |
|
|
15
|
+
| `accounts` | 查看 IMAP 账户、SMTP 出口及默认发件身份 |
|
|
16
|
+
| `mailboxes` | 查看邮箱文件夹 |
|
|
17
|
+
| `list` | 分页列出邮件摘要 |
|
|
18
|
+
| `search` | 按条件搜索邮件 |
|
|
19
|
+
| `read` | 读取正文及附件清单 |
|
|
20
|
+
| `headers` | 读取原始邮件头 |
|
|
21
|
+
| `attachment` | 下载指定附件或 MIME 部件 |
|
|
22
|
+
| `mark` | 设置已读、未读或星标 |
|
|
23
|
+
| `move` | 移动邮件 |
|
|
24
|
+
| `trash` | “删除邮件”“移入回收站”“扔进垃圾桶”均使用此工具,不永久删除 |
|
|
25
|
+
| `purge` | 用户明确要求“永久删除邮件”时使用,永久删除回收站内指定邮件 |
|
|
26
|
+
| `junk` | 标为垃圾邮件/移入垃圾邮件箱;“垃圾桶”指 `trash`,不是此工具 |
|
|
27
|
+
| `not_junk` | 从垃圾邮件处理流程移回收件箱 |
|
|
28
|
+
| `send` | 发送或回复邮件 |
|