teams_download_file
Download files, images, videos or voice messages shared in Microsoft Teams to a local path by URL or conversation and message IDs; existing files are never overwritten.
Instructions
Download a file, image, video clip or voice message shared in Teams (Skype-era media too) to a local path, or a directory ending in /. Give the url (from teams_get_shared_files, a OneDrive/SharePoint link or a Teams media URL), or conversation_id + message_id (optionally file_name). Never overwrites. Personal and work accounts.
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": "teams_download_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| path | Yes | ||
| account | No | Account alias (see teams_accounts). Defaults to the default account. | |
| file_name | No | ||
| message_id | No | ||
| conversation_id | No |