:Release Notes: - Added skills examples for MS Teams work - Added agent file "browser-butler" for actual work execution :Detailed Notes: - :Testing Performed: - :QA Notes: - Tested with claude code and opencode :Issues Addressed: - Done for Chrome DevTools MCP Server seminar
38 lines
1.5 KiB
Markdown
38 lines
1.5 KiB
Markdown
---
|
|
name: ms-teams-send-message
|
|
description: Use when sending a composed message in MS Teams chat via Chrome DevTools MCP, or when locating/opening a specific chat. Covers the Ctrl+Enter send shortcut and delivery confirmation. Use ONLY when the user asks to send a message or open a chat in MS Teams.
|
|
---
|
|
|
|
# MS Teams send message
|
|
|
|
How to locate a chat and send a composed message in Microsoft Teams via
|
|
Chrome DevTools MCP. Verified empirically against the live Teams web app.
|
|
|
|
## Locating a chat
|
|
|
|
1. `chrome-devtools_list_pages` to find the Teams tab.
|
|
2. `chrome-devtools_select_page` to focus it.
|
|
3. `chrome-devtools_take_snapshot` to read the left chat list (a11y tree).
|
|
4. Click the target `treeitem` (e.g. "Group chat [Idea Mining] PM"). The
|
|
chat opens and the editor autofocuses.
|
|
|
|
## Sending
|
|
|
|
- Click the "Send (Ctrl+Enter)" button exposed in the snapshot, OR
|
|
- `chrome-devtools_press_key key: "Ctrl+Enter"`.
|
|
|
|
Do not press `Enter` alone — in Teams it is remapped to send only when
|
|
the "send on Enter" setting is off; the default for group chats is
|
|
`Ctrl+Enter` to send and `Enter` for newline. `Shift+Enter` always
|
|
inserts a line break regardless of that setting.
|
|
|
|
After sending, confirm delivery by waiting for the message to appear in
|
|
the transcript (e.g. `chrome-devtools_wait_for text: ["<your
|
|
substring>"]`). Teams also announces "Message sent." via an `atomic live`
|
|
region.
|
|
|
|
## Cleanup
|
|
|
|
If a test draft is unwanted, select all (`Control+A`) and `Delete` before
|
|
navigating away. The editor resets to the empty placeholder.
|