About Entrabot
Entrabot is an MCP server published by microsoft in the Science category: give a device-local AI agent its own Microsoft Entra identity. Reference implementation for Microsoft Agent 365 and Entra Agent ID. Conduid read 45 tools from its source: add_excel_comment, add_file_comment, add_promise, add_teams_member, add_teams_reaction, add_word_comment and 39 more. No package is published for it, so it installs from a source checkout.
The repository has 12 stars and 7 forks, and its last commit was on 2 Dec 2026. Conduid has no tagged release on record for it. Its topics include a365, agent-365, agent-identity, entra-id, fastmcp and microsoft.
Install
git clone https://github.com/microsoft/entrabotTools (45)
add_excel_commentComment on one Excel cell through Agent 365 Work IQ Excel.| Parameter | Type | Description |
|---|---|---|
| cell_address * | string | Sheet-qualified cell, such as ``Sheet1!A1``. |
| content * | string | Comment text. |
| document_id * | string | ``document_id`` from ``read_excel_workbook``. |
| drive_id * | string | ``drive_id`` from ``read_excel_workbook``. |
add_file_commentPost a document comment to a Word or Excel file (Files-only).| Parameter | Type | Description |
|---|---|---|
| content * | string | |
| drive_id * | string | |
| item_id * | string | |
| kind | string | |
| mime_type | string | |
| name * | string | |
| site_id | string |
add_promiseRecord an outstanding human-facing commitment — survives restart.| Parameter | Type | Description |
|---|---|---|
| chat_id * | string | The chat the promise is owed to. Use "terminal" for terminal-driven work and "email" for email threads when there's no Teams chat to tie it to. |
| description * | string | Enough detail to execute the follow-up without re-reading the conversation. |
| due_by | string | Optional ISO-8601 deadline. Empty string means no due date. |
add_teams_memberAdd a new member to a Teams chat. The REQUESTER must be an Agent Identity sponsor.| Parameter | Type | Description |
|---|---|---|
| chat_id * | string | The chat to add the member to. Required. |
| email * | string | The invitee's email address (e.g., 'user@example.com'). |
| requester_email * | string | REQUIRED. Email of the human (sponsor) who asked the agent to invite. Derive this from the active conversation context — the sender of the Teams message that triggered this turn. NEVER use the agent's own address. NEVER fabricate. |
| tenant_id | string | Optional override. Auto-resolved from email domain if empty. |
add_teams_reactionReact to a Teams chat message with an emoji, as yourself.| Parameter | Type | Description |
|---|---|---|
| chat_id * | string | The chat the message is in. Required. |
| message_id * | string | The message to react to. Required. Get it from ``read_teams_messages`` or from the ``message_id`` of a channel notification. |
| reaction * | string | Exactly one Unicode emoji (for example "👍" or "🎉"), or one of the names ``like``, ``heart``, ``laugh``, ``surprised``, ``sad``, ``angry``. Anything else is refused and nothing is sent: several emoji, country flags, keycap digits, arrows, letter-like symbols, or any text. |
add_word_commentCreate a top-level Word comment through Agent 365 Work IQ Word.| Parameter | Type | Description |
|---|---|---|
| content * | string | Comment text. |
| document_id * | string | The document's item ID: ``document_id`` from ``read_word_document``, or ``item_id`` from the metadata call. |
| drive_id * | string | Document library (drive) ID: ``drive_id`` from ``read_word_document``, or ``document_library_id`` from ``get_a365_file_metadata_by_url``. |
audit_logRecord a note in the audit trail about something you are doing outside these tools.| Parameter | Type | Description |
|---|---|---|
| action * | string | What the agent is doing (e.g., "file_read", "code_execute"). |
| metadata | string | Optional JSON string of key-value pairs with extra context. |
| outcome | string | "success", "failure", or "pending" (default "success"). |
| resource * | string | What is being acted on (e.g., file path, URL, repo name). |
bootstrap_body_stateSingle-packet snapshot of body-side operational state.create_chatCreate a 1:1 private DM with a user by email.| Parameter | Type | Description |
|---|---|---|
| target_email * | string | The user's email address (e.g., 'alice@example.com'). |
| target_tenant_id | string | Optional home tenant GUID override. Usually auto-resolved from the email domain — only pass this if auto-resolution fails. |
create_excel_workbookCreate an Excel workbook from CSV through Agent 365 Work IQ Excel.| Parameter | Type | Description |
|---|---|---|
| csv_content * | string | CSV used to populate the first worksheet. |
| file_name * | string | Workbook name. ``.xlsx`` is added if absent. |
create_word_documentCreate a Word document through Agent 365 Work IQ Word.| Parameter | Type | Description |
|---|---|---|
| content_html * | string | Initial body as HTML; Work IQ converts it to Word formatting. |
| file_name * | string | Name for the new document, including ``.docx``. |
delete_teams_messageSoft-delete one of the agent's own Teams messages.| Parameter | Type | Description |
|---|---|---|
| chat_id | string | The chat the message lives in. Required. |
| message_id * | string | The Teams message_id to delete. |
get_a365_file_metadata_by_urlRead OneDrive/SharePoint file metadata by URL through Agent 365 Work IQ.| Parameter | Type | Description |
|---|---|---|
| url * | string | Full OneDrive or SharePoint URL of a file or folder. |
list_chat_membersList all members of a Teams chat with their user IDs.| Parameter | Type | Description |
|---|---|---|
| chat_id * | string | The chat to list members of. Required. |
list_promisesList outstanding promises for this Agent Identity.| Parameter | Type | Description |
|---|---|---|
| open_only | boolean |
list_recent_filesList files recently shared with the agent (Graph ``/me/drive/sharedWithMe``).| Parameter | Type | Description |
|---|---|---|
| limit | integer | Max number of files to return (default 25, must be >= 1). |
list_workbook_worksheetsList the worksheets in an ``.xlsx`` or ``.xlsm`` file, including hidden ones.| Parameter | Type | Description |
|---|---|---|
| drive_id * | string | |
| item_id * | string | |
| kind | string | |
| mime_type | string | |
| name * | string | |
| site_id | string | |
| size_bytes | integer | |
| web_url | string |
post_thinking_placeholderPost a short placeholder so humans see the agent was triggered.| Parameter | Type | Description |
|---|---|---|
| chat_id * | string | The chat to post into. Required. |
| text | string | Placeholder text (default "thinking…"). Kept italic + low-key. |
read_a365_binary_fileRead a small binary file from OneDrive/SharePoint through Agent 365 Work IQ.| Parameter | Type | Description |
|---|---|---|
| document_library_id * | string | From ``get_a365_file_metadata_by_url``. |
| file_id * | string | The ``item_id`` from the same call. |
read_a365_text_fileRead a small text file from OneDrive/SharePoint through Agent 365 Work IQ.| Parameter | Type | Description |
|---|---|---|
| document_library_id * | string | From ``get_a365_file_metadata_by_url``. |
| file_id * | string | The ``item_id`` from the same call. |
read_emailFetch the full body + recipients + headers of an inbound email.| Parameter | Type | Description |
|---|---|---|
| mailbox | string | Optional shared mailbox UPN/address. Empty (default) reads from the Agent User's own mailbox. |
| message_id * | string | The Graph ``id`` of the message (from the channel push or a prior ``read_email`` / poll result). |
read_excel_workbookRead a whole Excel workbook and its comments through Agent 365 Work IQ Excel.| Parameter | Type | Description |
|---|---|---|
| url * | string | OneDrive/SharePoint sharing URL of the workbook. |
read_fileRead a SharePoint / OneDrive file as text.| Parameter | Type | Description |
|---|---|---|
| as_format | string | |
| drive_id * | string | |
| item_id * | string | |
| kind | string | |
| mime_type | string | |
| name * | string | |
| site_id | string | |
| size_bytes | integer | |
| web_url | string |
read_interactionsQuery the agent's own interaction log — body-side analogue of recall.| Parameter | Type | Description |
|---|---|---|
| action | string | Exact action name, e.g. ``"send_teams_message"``. Empty = no filter. |
| chat_id | string | Teams chat ID. For outbound entries this matches ``recipient``; for inbound, ``metadata.chat_id``. Empty string = no filter. |
| direction | string | ``"inbound"`` or ``"outbound"``. Empty = no filter. |
| limit | integer | Max entries to return (default 10). |
| sender | string | Exact sender (case-insensitive). Empty = no filter. |
| since | string | ISO 8601 timestamp. Default = now − 24 h. Entries at or before this cutoff are excluded. |
read_teams_messagesRead recent messages from a Microsoft Teams chat.| Parameter | Type | Description |
|---|---|---|
| chat_id * | string | The chat to read from. Required. |
| count | integer | Number of messages to return (default 5, max ~50). |
read_word_documentRead a Word document and its comments through Agent 365 Work IQ Word.| Parameter | Type | Description |
|---|---|---|
| url * | string |
read_workbook_rangeRead a bounded range of cells from an ``.xlsx`` or ``.xlsm`` worksheet.| Parameter | Type | Description |
|---|---|---|
| address | string | |
| drive_id * | string | |
| item_id * | string | |
| kind | string | |
| mime_type | string | |
| name * | string | |
| site_id | string | |
| size_bytes | integer | |
| web_url | string | |
| worksheet * | string |
remove_teams_reactionRemove a reaction you added to a Teams chat message.| Parameter | Type | Description |
|---|---|---|
| chat_id * | string | The chat the message is in. Required. |
| message_id * | string | The message your reaction is on. Required. |
| reaction * | string | The one emoji you reacted with, or one of the names ``like``, ``heart``, ``laugh``, ``surprised``, ``sad``, ``angry``. |
reply_to_excel_commentReply inside an existing Excel comment thread through Agent 365 Work IQ Excel.| Parameter | Type | Description |
|---|---|---|
| comment_id * | string | ``CommentId`` from ``read_excel_workbook``, or ``comment_id`` from ``add_excel_comment``, including its braces. |
| content * | string | Reply text. |
| document_id * | string | ``document_id`` from ``read_excel_workbook``. |
| drive_id * | string | ``drive_id`` from ``read_excel_workbook``. |
reply_to_word_commentReply inside an existing Word comment thread through Agent 365 Work IQ Word.| Parameter | Type | Description |
|---|---|---|
| comment_id * | string | ID of the thread's top-level comment, as returned by ``read_word_document`` or ``add_word_comment``. |
| content * | string | Reply text. |
| document_id * | string | The document's item ID: ``document_id`` from ``read_word_document``, or ``item_id`` from the metadata call. |
| drive_id * | string | Document library (drive) ID: ``drive_id`` from ``read_word_document``, or ``document_library_id`` from ``get_a365_file_metadata_by_url``. |
resolve_file_urlResolve a SharePoint / OneDrive / shared-link URL to a stable file handle.| Parameter | Type | Description |
|---|---|---|
| url * | string | A full SharePoint / OneDrive / shared-link URL. |
resolve_placeholderReplace a thinking placeholder with the final message.| Parameter | Type | Description |
|---|---|---|
| chat_id * | string | The target chat. Required. |
| content_type | string | "html" (default) or "text". |
| final_message * | string | The final reply (HTML per channel-discipline). |
| mentions | array | Graph-shape mention dicts if the final reply @-mentions. |
| mode | string | "edit" or "delete_repost". |
| placeholder_id * | string | The message_id returned by post_thinking_placeholder. |
resolve_promiseMark a promise resolved.| Parameter | Type | Description |
|---|---|---|
| promise_id * | string | The id returned by ``add_promise`` (also visible in ``list_promises``). |
| resolution * | string | One-line closure reason, e.g. "PR #42 merged, reply posted to c1" or "agent-stalled, respawning". |
run_daily_summaryTriage today's interactions and (optionally) email a summary.| Parameter | Type | Description |
|---|---|---|
| day | string | UTC day in ``YYYY-MM-DD`` format. Defaults to today. |
| send | boolean | If True, also email the summary. If False, render + archive only. |
send_cardSend a rich Adaptive Card to a Teams chat.| Parameter | Type | Description |
|---|---|---|
| card_type * | string | One of "tool_activity", "task_status", "build_result". |
| chat_id | string | Target chat. Required — pass the chat_id of the chat to send the card to. |
| detail | string | Short description (for tool_activity). |
| details_text | string | Multi-line details (for build_result). |
| duration | string | Human-readable duration (for task_status). |
| extra | string | JSON string of extra key-value pairs (for task_status details). |
| passed | boolean | True/False (for build_result). |
| status | string | "running", "complete", "error", or "in_progress". |
| summary | string | One-line summary (for build_result). |
| title | string | Tool name or task name (for tool_activity and task_status). |
send_emailSend an email from the Agent User's mailbox.| Parameter | Type | Description |
|---|---|---|
| bcc | string | Optional comma-separated BCC addresses. |
| body * | string | Message body (default HTML — match Teams convention). |
| cc | string | Optional comma-separated CC addresses. |
| content_type | string | "html" or "text". |
| reply_to_message_id | string | If set, reply to that message_id (preserves thread). Omit for a new thread. |
| subject * | string | Subject line (ignored by Graph on replies). |
| to * | string | Comma-separated email addresses (single is fine). |
send_teams_messageSend a message via Microsoft Teams, then listen for the reply.| Parameter | Type | Description |
|---|---|---|
| chat_id | string | The chat to send to. Required. |
| content_type | string | "html" (default) or "text" — see note above. |
| mentions | array | Optional list of mention dicts for @mentions. |
| message * | string | The text to send (HTML by default). |
share_fileShare a file. The REQUESTER must be an Agent Identity sponsor; the recipient must pass| Parameter | Type | Description |
|---|---|---|
| chat_id * | string | |
| drive_id * | string | |
| item_id * | string | |
| kind | string | |
| mime_type | string | |
| name * | string | |
| recipient_email * | string | |
| requester_email * | string | |
| role | string | |
| site_id | string |
update_placeholderPatch a thinking placeholder with a short italic progress note.| Parameter | Type | Description |
|---|---|---|
| chat_id * | string | The chat holding the placeholder. Required. |
| placeholder_id * | string | The message_id returned by ``post_thinking_placeholder``. |
| progress_text * | string | One short progress phrase. Kept italic. |
upload_fileUpload binary file with automatic chunking for large files.| Parameter | Type | Description |
|---|---|---|
| conflict_behavior | string | rename / replace / fail |
| content_base64 * | string | Base64-encoded file content |
| drive_id | string | (SharePoint only) Drive ID |
| file_name * | string | Name of file to create/upload |
| folder_path | string | Target folder path (default "/") |
| site_id | string | (SharePoint only) Site ID |
| target_type * | string | "onedrive" or "sharepoint" |
view_imageFetch and display an image from a Teams chat message.| Parameter | Type | Description |
|---|---|---|
| url * | string | The full Graph API hosted content URL (e.g., ``https://graph.microsoft.com/v1.0/chats/.../hostedContents/.../$value``). |
wait_for_sponsor_dmBlock until a Sponsor sends a Teams DM, then return their message.| Parameter | Type | Description |
|---|---|---|
| timeout_seconds | integer | Optional cap. ``0`` (default) means block indefinitely until a Sponsor DM arrives or the operator cancels. Positive values cause the tool to return a structured timeout payload (``timed_out: true``) when the cap is hit, instead of raising. |
watch_teams_repliesPoll Teams for new replies from the human in a specific chat.| Parameter | Type | Description |
|---|---|---|
| chat_id * | string | The chat to watch. Required — pass the chat_id of the Teams conversation you want to watch (e.g. from create_chat). |
| interval | integer | Seconds between poll iterations (default 5). |
| timeout | integer | Max seconds to poll before returning empty (default 30). |
whoamiShow the current agent identity, Teams connection status, and permissions.write_text_fileWrite text to a file (create or update per conflict_behavior).| Parameter | Type | Description |
|---|---|---|
| conflict_behavior | string | rename / replace / fail |
| content * | string | Text content to write |
| drive_id | string | (SharePoint only) Drive ID |
| folder_path | string | Target folder path (default "/") |
| site_id | string | (SharePoint only) Site ID |
| target_type * | string | "onedrive" or "sharepoint" |
Security checks
6 checks have not been run yet.