Trích chữ file đính kèm
mail_attachment_textExtracts text from email attachments (PDF, DOCX, XLSX, CSV, TXT, HTML, EML) and optionally saves originals to a work directory for reuse.
Instructions
Trích chữ từ file đính kèm (PDF có lớp chữ, DOCX, XLSX, CSV, TXT, HTML, EML). save=true → lưu file gốc vào /attachments để dùng tiếp (vd làm đính kèm).
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": {
"uid": "<uid>",
"index": "<index>"
},
"name": "mail_attachment_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | Yes | ||
| save | No | ||
| index | Yes | ||
| folder | No | INBOX |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||