get_event
Retrieve comprehensive event details from the Microsoft MCP server by specifying event and account IDs, enabling efficient management of calendar entries and scheduling tasks.
Instructions
Get full event details
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account_id | Yes | ||
| event_id | Yes |
Implementation Reference
- src/microsoft_mcp/tools.py:508-514 (handler)The main handler function for the 'get_event' tool, decorated with @mcp.tool for automatic registration in FastMCP. It retrieves full details of a specific calendar event using the Microsoft Graph API.@mcp.tool def get_event(event_id: str, account_id: str) -> dict[str, Any]: """Get full event details""" result = graph.request("GET", f"/me/events/{event_id}", account_id) if not result: raise ValueError(f"Event with ID {event_id} not found") return result