teams_get_shared_files
Lists files, images, videos and voice messages shared in a Microsoft Teams conversation, newest first, and returns the links needed to download them.
Instructions
Files, images, video clips and voice messages shared in a conversation (newest first, Skype-era media too), with the links teams_download_file needs. 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": {
"conversation_id": "<conversation_id>"
},
"name": "teams_get_shared_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| account | No | Account alias (see teams_accounts). Defaults to the default account. | |
| scan_messages | No | How many recent messages to scan (default 400). | |
| conversation_id | Yes |