Đọc file (.eml/.pdf/.docx/.xlsx…)
file_readRead a file from the working directory to extract text; .eml files return parsed email content plus warnings, while other files return extracted text.
Instructions
Đọc file trong thư mục làm việc. .eml → email đã tách + cảnh báo; file khác → chữ đã trích.
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": {
"path": "<path>"
},
"name": "file_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||