build_user_context
Constructs a structured user context dictionary for filtering PagerDuty resources like incidents, services, and escalation policies based on user ID, team IDs, and service IDs.
Instructions
Validate and build the current user's context into a dictionary with the following format: { "user_id": str, "team_ids": List[str], "service_ids": List[str], "escalation_policy_ids": List[str] } The MCP server tools use this user context to filter the following resources: - Escalation policies - Incidents - Oncalls - Services - Users
Input Schema
Name | Required | Description | Default |
---|---|---|---|
No arguments |