upload_file
Send a local file to a Teams chat by uploading it to the chat's OneDrive folder, sharing read access with members, and posting it as a message; use conversationId '48:notes' for yourself.
Instructions
Send a local file to a chat: uploads it to your OneDrive Teams chat files folder, gives the chat members read access and posts it as a message (like Teams does). Use conversationId '48:notes' to send to yourself.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | File name in Teams (defaults to the local file name) | |
| path | Yes | Local file path to upload | |
| text | No | Optional message text shown with the file | |
| conversationId | Yes | Chat conversation ID from list_chats |