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
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": {
"event_id": "<event_id>",
"account_id": "<account_id>"
},
"name": "get_event"
}
}Input 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