read_attachment
Extract text from email attachments in Outlook. Supports txt, csv, md, json, xml, pdf, xlsx, and docx files using the attachment reference from read_mail.
Instructions
Trích text từ một tệp đính kèm. ref là tên tệp hoặc chỉ số từ read_mail.
Hỗ trợ txt/csv/md/json/xml/pdf/xlsx/docx.
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": {
"mail_id": "<mail_id>",
"ref": "<ref>"
},
"name": "read_attachment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | ||
| mail_id | Yes | ||
| max_chars | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |