extract_attachments
Save message attachments to a specified directory and return the written file paths.
Instructions
Save a message's attachments to dest_dir; returns the written file paths.
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": {
"message_id": "<message_id>",
"dest_dir": "<dest_dir>"
},
"name": "extract_attachments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dest_dir | Yes | ||
| message_id | Yes |