PagerDuty MCP Server for Cloudflare Workers
68 tools available in the PagerDuty MCP server. Each tool can be called by AI assistants to perform specific actions.
pagerduty_list_escalation_policiesList escalation policies from PagerDuty.
Args:
Returns: Paginated list of escalation policies.
{
"type": "object",
"properties": {
"limit": {
"type": "integer",
"default": 25,
"maximum": 100,
"minimum": 1
},
"query": {
"type": "string",
"description": "Search query"
},
"format": {
"enum": [
"json",
"markdown"
],
"type": "string"
},
"offset": {
"type": "integer",
"default": 0,
"minimum": 0
},
"teamIds": {
"type": "array",
"items": {
"type": "string"
},
"description": "Filter by team IDs"
},
"userIds": {
"type": "array",
"items": {
"type": "string"
},
"description": "Filter by user IDs"
}
}
}pagerduty_get_escalation_policyGet a single escalation policy by ID.
Args:
Returns: The escalation policy with all details.
{
"type": "object",
"properties": {
"format": {
"enum": [
"json",
"markdown"
],
"type": "string"
},
"policyId": {
"type": "string",
"description": "Escalation policy ID"
}
}
}pagerduty_create_escalation_policyCreate a new escalation policy.
Args:
Returns: The created escalation policy.
{
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"description": "Policy name"
},
"numLoops": {
"type": "integer",
"maximum": 9,
"minimum": 0,
"description": "Number of loops"
},
"description": {
"type": "string",
"description": "Policy description"
}
}
}pagerduty_update_escalation_policyUpdate an existing escalation policy.
Args:
Returns: The updated escalation policy.
{
"type": "object",
"required": [
"policyId"
],
"properties": {
"name": {
"type": "string",
"description": "New name"
},
"numLoops": {
"type": "integer",
"maximum": 9,
"minimum": 0,
"description": "Number of loops"
},
"policyId": {
"type": "string",
"description": "Policy ID to update"
},
"description": {
"type": "string",
"description": "New description"
}
}
}pagerduty_delete_escalation_policyDelete an escalation policy.
Args:
Returns: Confirmation of deletion.
{
"type": "object",
"required": [
"policyId"
],
"properties": {
"policyId": {
"type": "string",
"description": "Policy ID to delete"
}
}
}pagerduty_list_incidentsList incidents from PagerDuty with filtering options.
Returns a paginated list of incidents. Supports filtering by status, urgency, service, team, and date range.
Args:
Returns: Paginated list of incidents with details.
{
"type": "object",
"properties": {
"limit": {
"type": "integer",
"default": 25,
"maximum": 100,
"minimum": 1,
"description": "Number of incidents to return"
},
"since": {
"type": "string",
"description": "Start of date range (ISO 8601)"
},
"until": {
"type": "string",
"description": "End of date range (ISO 8601)"
},
"format": {
"enum": [
"json",
"markdown"
],
"type": "string",
"default": "json",
"description": "Response format"
},
"offset": {
"type": "integer",
"default": 0,
"minimum": 0,
"description": "Pagination offset"
},
"teamIds": {
"type": "array",
"items": {
"type": "string"
},
"description": "Filter by team IDs"
},
"serviceIds": {
"type": "array",
"items": {
"type": "string"
},
"description": "Filter by service IDs"
}
}
}pagerduty_get_incidentGet a single incident by ID.
Args:
Returns: The incident record with all available fields.
{
"type": "object",
"required": [
"incidentId"
],
"properties": {
"format": {
"enum": [
"json",
"markdown"
],
"type": "string"
},
"incidentId": {
"type": "string",
"description": "Incident ID"
}
}
}pagerduty_create_incidentCreate a new incident in PagerDuty.
Requires X-PagerDuty-From header with a valid email address.
Args:
Returns: The created incident record.
{
"type": "object",
"required": [
"serviceId",
"title"
],
"properties": {
"body": {
"type": "string",
"description": "Incident description"
},
"title": {
"type": "string",
"description": "Incident title (required)"
},
"urgency": {
"enum": [
"high",
"low"
],
"type": "string",
"description": "Incident urgency"
},
"serviceId": {
"type": "string",
"description": "Service ID (required)"
},
"priorityId": {
"type": "string",
"description": "Priority ID"
},
"assigneeIds": {
"type": "array",
"items": {
"type": "string"
},
"description": "User IDs to assign"
},
"incidentKey": {
"type": "string",
"description": "Deduplication key"
},
"escalationPolicyId": {
"type": "string",
"description": "Escalation policy ID"
}
}
}pagerduty_acknowledge_incidentAcknowledge an incident.
Requires X-PagerDuty-From header with a valid email address.
Args:
Returns: The updated incident.
{
"type": "object",
"required": [
"incidentId"
],
"properties": {
"incidentId": {
"type": "string",
"description": "Incident ID to acknowledge"
}
}
}pagerduty_resolve_incidentResolve an incident.
Requires X-PagerDuty-From header with a valid email address.
Args:
Returns: The updated incident.
{
"type": "object",
"required": [
"incidentId"
],
"properties": {
"incidentId": {
"type": "string",
"description": "Incident ID to resolve"
},
"resolution": {
"type": "string",
"description": "Resolution notes"
}
}
}pagerduty_snooze_incidentSnooze an incident for a specified duration.
Requires X-PagerDuty-From header with a valid email address.
Args:
Returns: The updated incident.
{
"type": "object",
"required": [
"incidentId",
"durationSeconds"
],
"properties": {
"incidentId": {
"type": "string",
"description": "Incident ID to snooze"
},
"durationSeconds": {
"type": "integer",
"minimum": 60,
"description": "Duration to snooze in seconds"
}
}
}pagerduty_merge_incidentsMerge multiple incidents into one.
Requires X-PagerDuty-From header with a valid email address.
Args:
Returns: The merged incident.
{
"type": "object",
"required": [
"targetIncidentId",
"sourceIncidentIds"
],
"properties": {
"targetIncidentId": {
"type": "string",
"description": "Target incident ID"
},
"sourceIncidentIds": {
"type": "array",
"items": {
"type": "string"
},
"description": "Source incident IDs to merge"
}
}
}pagerduty_list_addonsList installed add-ons.
Args:
Returns: Paginated list of add-ons.
{
"type": "object",
"properties": {
"limit": {
"type": "integer",
"default": 25,
"maximum": 100,
"minimum": 1
},
"format": {
"enum": [
"json",
"markdown"
],
"type": "string"
},
"offset": {
"type": "integer",
"default": 0,
"minimum": 0
}
}
}pagerduty_update_incidentUpdate an incident's properties.
Requires X-PagerDuty-From header with a valid email address.
Args:
Returns: The updated incident.
{
"type": "object",
"required": [
"incidentId"
],
"properties": {
"title": {
"type": "string",
"description": "New title"
},
"urgency": {
"enum": [
"high",
"low"
],
"type": "string",
"description": "New urgency"
},
"incidentId": {
"type": "string",
"description": "Incident ID to update"
},
"priorityId": {
"type": "string",
"description": "New priority ID"
},
"assigneeIds": {
"type": "array",
"items": {
"type": "string"
},
"description": "New assignee user IDs"
},
"escalationLevel": {
"type": "integer",
"description": "Escalation level"
},
"escalationPolicyId": {
"type": "string",
"description": "New escalation policy ID"
}
}
}pagerduty_list_incident_alertsList alerts for an incident.
Args:
Returns: Paginated list of alerts.
{
"type": "object",
"required": [
"incidentId"
],
"properties": {
"limit": {
"type": "integer",
"default": 25,
"maximum": 100,
"minimum": 1
},
"format": {
"enum": [
"json",
"markdown"
],
"type": "string"
},
"offset": {
"type": "integer",
"default": 0,
"minimum": 0
},
"incidentId": {
"type": "string",
"description": "Incident ID"
}
}
}pagerduty_list_incident_log_entriesList log entries for an incident.
Args:
Returns: Paginated list of log entries.
{
"type": "object",
"required": [
"incidentId"
],
"properties": {
"limit": {
"type": "integer",
"default": 25,
"maximum": 100,
"minimum": 1
},
"format": {
"enum": [
"json",
"markdown"
],
"type": "string"
},
"offset": {
"type": "integer",
"default": 0,
"minimum": 0
},
"incidentId": {
"type": "string",
"description": "Incident ID"
}
}
}pagerduty_list_incident_notesList notes for an incident.
Args:
Returns: List of incident notes.
{
"type": "object",
"required": [
"incidentId"
],
"properties": {
"format": {
"enum": [
"json",
"markdown"
],
"type": "string"
},
"incidentId": {
"type": "string",
"description": "Incident ID"
}
}
}pagerduty_add_incident_noteAdd a note to an incident.
Requires X-PagerDuty-From header with a valid email address.
Args:
Returns: The created note.
{
"type": "object",
"required": [
"incidentId",
"content"
],
"properties": {
"content": {
"type": "string",
"description": "Note content"
},
"incidentId": {
"type": "string",
"description": "Incident ID"
}
}
}pagerduty_list_oncallsList current on-call entries.
Returns who is currently on-call for schedules and escalation policies.
Args:
Returns: Paginated list of on-call entries.
{
"type": "object",
"properties": {
"limit": {
"type": "integer",
"default": 25,
"maximum": 100,
"minimum": 1
},
"since": {
"type": "string",
"description": "Start of time range (ISO 8601)"
},
"until": {
"type": "string",
"description": "End of time range (ISO 8601)"
},
"format": {
"enum": [
"json",
"markdown"
],
"type": "string"
},
"offset": {
"type": "integer",
"default": 0,
"minimum": 0
},
"userIds": {
"type": "array",
"items": {
"type": "string"
},
"description": "Filter by user IDs"
},
"earliest": {
"type": "boolean",
"description": "Return only earliest on-call per policy"
},
"scheduleIds": {
"type": "array",
"items": {
"type": "string"
},
"description": "Filter by schedule IDs"
},
"escalationPolicyIds": {
"type": "array",
"items": {
"type": "string"
},
"description": "Filter by escalation policy IDs"
}
}
}pagerduty_list_abilitiesList abilities/features available for the account.
Returns: List of ability names (e.g., 'teams', 'read_only_users', 'service_support_hours').
{
"type": "object",
"properties": {}
}pagerduty_test_abilityTest if an ability/feature is available for the account.
Args:
Returns: Whether the ability is available.
{
"type": "object",
"required": [
"ability"
],
"properties": {
"ability": {
"type": "string",
"description": "Ability name to test"
}
}
}pagerduty_list_prioritiesList incident priorities defined in PagerDuty.
Returns: List of priorities with their IDs, names, and colors.
{
"type": "object",
"properties": {
"format": {
"enum": [
"json",
"markdown"
],
"type": "string"
}
}
}pagerduty_list_vendorsList integration vendors available in PagerDuty.
Args:
Returns: Paginated list of vendors.
{
"type": "object",
"properties": {
"limit": {
"type": "integer",
"default": 25,
"maximum": 100,
"minimum": 1
},
"format": {
"enum": [
"json",
"markdown"
],
"type": "string"
},
"offset": {
"type": "integer",
"default": 0,
"minimum": 0
}
}
}pagerduty_get_vendorGet a single vendor by ID.
Args:
Returns: The vendor details.
{
"type": "object",
"required": [
"vendorId"
],
"properties": {
"format": {
"enum": [
"json",
"markdown"
],
"type": "string"
},
"vendorId": {
"type": "string",
"description": "Vendor ID"
}
}
}pagerduty_list_log_entriesList log entries from PagerDuty.
Args:
Returns: Paginated list of log entries.
{
"type": "object",
"properties": {
"limit": {
"type": "integer",
"default": 25,
"maximum": 100,
"minimum": 1
},
"since": {
"type": "string",
"description": "Start of time range (ISO 8601)"
},
"until": {
"type": "string",
"description": "End of time range (ISO 8601)"
},
"format": {
"enum": [
"json",
"markdown"
],
"type": "string"
},
"offset": {
"type": "integer",
"default": 0,
"minimum": 0
},
"timeZone": {
"type": "string",
"description": "Time zone for rendering"
},
"isOverview": {
"type": "boolean",
"description": "Return overview entries only"
}
}
}pagerduty_get_log_entryGet a single log entry by ID.
Args:
Returns: The log entry details.
{
"type": "object",
"required": [
"logEntryId"
],
"properties": {
"format": {
"enum": [
"json",
"markdown"
],
"type": "string"
},
"logEntryId": {
"type": "string",
"description": "Log entry ID"
}
}
}pagerduty_list_maintenance_windowsList maintenance windows.
Args:
Returns: Paginated list of maintenance windows.
{
"type": "object",
"properties": {
"limit": {
"type": "integer",
"default": 25,
"maximum": 100,
"minimum": 1
},
"query": {
"type": "string",
"description": "Search query"
},
"filter": {
"enum": [
"past",
"future",
"ongoing",
"all"
],
"type": "string",
"description": "Filter by status"
},
"format": {
"enum": [
"json",
"markdown"
],
"type": "string"
},
"offset": {
"type": "integer",
"default": 0,
"minimum": 0
},
"include": {
"type": "array",
"items": {
"type": "string"
},
"description": "Additional data to include"
},
"teamIds": {
"type": "array",
"items": {
"type": "string"
},
"description": "Filter by team IDs"
},
"serviceIds": {
"type": "array",
"items": {
"type": "string"
},
"description": "Filter by service IDs"
}
}
}pagerduty_get_maintenance_windowGet a single maintenance window by ID.
Args:
Returns: The maintenance window details.
{
"type": "object",
"required": [
"windowId"
],
"properties": {
"format": {
"enum": [
"json",
"markdown"
],
"type": "string"
},
"windowId": {
"type": "string",
"description": "Maintenance window ID"
}
}
}pagerduty_create_maintenance_windowCreate a maintenance window.
Requires X-PagerDuty-From header.
Args:
Returns: The created maintenance window.
{
"type": "object",
"required": [
"startTime",
"endTime",
"serviceIds"
],
"properties": {
"endTime": {
"type": "string",
"description": "End time (ISO 8601)"
},
"startTime": {
"type": "string",
"description": "Start time (ISO 8601)"
},
"serviceIds": {
"type": "array",
"items": {
"type": "string"
},
"description": "Service IDs to include"
},
"description": {
"type": "string",
"description": "Description"
}
}
}pagerduty_delete_maintenance_windowDelete a maintenance window.
Args:
Returns: Confirmation of deletion.
{
"type": "object",
"required": [
"windowId"
],
"properties": {
"windowId": {
"type": "string",
"description": "Maintenance window ID to delete"
}
}
}pagerduty_list_extensionsList extensions.
Args:
Returns: Paginated list of extensions.
{
"type": "object",
"properties": {
"limit": {
"type": "integer",
"default": 25,
"maximum": 100,
"minimum": 1
},
"format": {
"enum": [
"json",
"markdown"
],
"type": "string"
},
"offset": {
"type": "integer",
"default": 0,
"minimum": 0
}
}
}pagerduty_get_extensionGet a single extension by ID.
Args:
Returns: The extension details.
{
"type": "object",
"required": [
"extensionId"
],
"properties": {
"format": {
"enum": [
"json",
"markdown"
],
"type": "string"
},
"extensionId": {
"type": "string",
"description": "Extension ID"
}
}
}pagerduty_list_response_playsList response plays.
Requires X-PagerDuty-From header.
Args:
Returns: List of response plays.
{
"type": "object",
"properties": {
"format": {
"enum": [
"json",
"markdown"
],
"type": "string"
}
}
}pagerduty_run_response_playRun a response play on an incident.
Requires X-PagerDuty-From header.
Args:
Returns: Confirmation that the play was run.
{
"type": "object",
"required": [
"responsePlayId",
"incidentId"
],
"properties": {
"incidentId": {
"type": "string",
"description": "Incident ID"
},
"responsePlayId": {
"type": "string",
"description": "Response play ID"
}
}
}pagerduty_list_tagsList tags.
Args:
Returns: Paginated list of tags.
{
"type": "object",
"properties": {
"limit": {
"type": "integer",
"default": 25,
"maximum": 100,
"minimum": 1
},
"format": {
"enum": [
"json",
"markdown"
],
"type": "string"
},
"offset": {
"type": "integer",
"default": 0,
"minimum": 0
}
}
}pagerduty_create_tagCreate a tag.
Args:
Returns: The created tag.
{
"type": "object",
"required": [
"label"
],
"properties": {
"label": {
"type": "string",
"description": "Tag label"
}
}
}pagerduty_delete_tagDelete a tag.
Args:
Returns: Confirmation of deletion.
{
"type": "object",
"required": [
"tagId"
],
"properties": {
"tagId": {
"type": "string",
"description": "Tag ID to delete"
}
}
}pagerduty_list_business_servicesList business services.
Args:
Returns: Paginated list of business services.
{
"type": "object",
"properties": {
"limit": {
"type": "integer",
"default": 25,
"maximum": 100,
"minimum": 1
},
"format": {
"enum": [
"json",
"markdown"
],
"type": "string"
},
"offset": {
"type": "integer",
"default": 0,
"minimum": 0
}
}
}pagerduty_get_business_serviceGet a single business service by ID.
Args:
Returns: The business service details.
{
"type": "object",
"required": [
"businessServiceId"
],
"properties": {
"format": {
"enum": [
"json",
"markdown"
],
"type": "string"
},
"businessServiceId": {
"type": "string",
"description": "Business service ID"
}
}
}pagerduty_create_business_serviceCreate a business service.
Args:
Returns: The created business service.
{
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"description": "Business service name"
},
"teamId": {
"type": "string",
"description": "Owning team ID"
},
"description": {
"type": "string",
"description": "Description"
},
"pointOfContact": {
"type": "string",
"description": "Point of contact"
}
}
}pagerduty_delete_business_serviceDelete a business service.
Args:
Returns: Confirmation of deletion.
{
"type": "object",
"required": [
"businessServiceId"
],
"properties": {
"businessServiceId": {
"type": "string",
"description": "Business service ID to delete"
}
}
}pagerduty_get_userGet a single user by ID.
Args:
Returns: The user record with all available fields.
{
"type": "object",
"properties": {
"format": {
"enum": [
"json",
"markdown"
],
"type": "string"
},
"userId": {
"type": "string",
"description": "User ID"
}
}
}pagerduty_get_current_userGet the currently authenticated user.
Args:
Returns: The current user's record.
{
"type": "object",
"properties": {
"format": {
"enum": [
"json",
"markdown"
],
"type": "string"
}
}
}pagerduty_get_incident_analyticsGet raw incident analytics data.
Args:
Returns: List of analytics data for incidents.
{
"type": "object",
"required": [
"since",
"until"
],
"properties": {
"since": {
"type": "string",
"description": "Start of time range (ISO 8601)"
},
"until": {
"type": "string",
"description": "End of time range (ISO 8601)"
},
"format": {
"enum": [
"json",
"markdown"
],
"type": "string"
},
"teamIds": {
"type": "array",
"items": {
"type": "string"
},
"description": "Filter by team IDs"
},
"urgency": {
"enum": [
"high",
"low"
],
"type": "string",
"description": "Filter by urgency"
},
"serviceIds": {
"type": "array",
"items": {
"type": "string"
},
"description": "Filter by service IDs"
}
}
}pagerduty_list_schedulesList schedules from PagerDuty.
Args:
Returns: Paginated list of schedules.
{
"type": "object",
"properties": {
"limit": {
"type": "integer",
"default": 25,
"maximum": 100,
"minimum": 1
},
"query": {
"type": "string",
"description": "Search query"
},
"format": {
"enum": [
"json",
"markdown"
],
"type": "string"
},
"offset": {
"type": "integer",
"default": 0,
"minimum": 0
}
}
}pagerduty_get_scheduleGet a single schedule by ID with rendered schedule entries.
Args:
Returns: The schedule with rendered entries.
{
"type": "object",
"required": [
"scheduleId"
],
"properties": {
"since": {
"type": "string",
"description": "Start of time range (ISO 8601)"
},
"until": {
"type": "string",
"description": "End of time range (ISO 8601)"
},
"format": {
"enum": [
"json",
"markdown"
],
"type": "string"
},
"timeZone": {
"type": "string",
"description": "Time zone for rendering"
},
"scheduleId": {
"type": "string",
"description": "Schedule ID"
}
}
}pagerduty_create_scheduleCreate a new schedule.
Args:
Returns: The created schedule.
{
"type": "object",
"required": [
"name",
"timeZone"
],
"properties": {
"name": {
"type": "string",
"description": "Schedule name"
},
"timeZone": {
"type": "string",
"description": "Schedule time zone"
},
"description": {
"type": "string",
"description": "Schedule description"
}
}
}pagerduty_delete_scheduleDelete a schedule.
Args:
Returns: Confirmation of deletion.
{
"type": "object",
"required": [
"scheduleId"
],
"properties": {
"scheduleId": {
"type": "string",
"description": "Schedule ID to delete"
}
}
}pagerduty_list_schedule_overridesList overrides for a schedule within a time range.
Args:
Returns: List of schedule overrides.
{
"type": "object",
"required": [
"scheduleId",
"since",
"until"
],
"properties": {
"since": {
"type": "string",
"description": "Start of time range (ISO 8601)"
},
"until": {
"type": "string",
"description": "End of time range (ISO 8601)"
},
"format": {
"enum": [
"json",
"markdown"
],
"type": "string"
},
"scheduleId": {
"type": "string",
"description": "Schedule ID"
}
}
}pagerduty_create_schedule_overrideCreate an override for a schedule.
Args:
Returns: The created override.
{
"type": "object",
"required": [
"scheduleId",
"userId",
"start",
"end"
],
"properties": {
"end": {
"type": "string",
"description": "Override end time (ISO 8601)"
},
"start": {
"type": "string",
"description": "Override start time (ISO 8601)"
},
"userId": {
"type": "string",
"description": "User ID for the override"
},
"scheduleId": {
"type": "string",
"description": "Schedule ID"
}
}
}pagerduty_delete_schedule_overrideDelete a schedule override.
Args:
Returns: Confirmation of deletion.
{
"type": "object",
"required": [
"scheduleId",
"overrideId"
],
"properties": {
"overrideId": {
"type": "string",
"description": "Override ID to delete"
},
"scheduleId": {
"type": "string",
"description": "Schedule ID"
}
}
}pagerduty_list_servicesList services from PagerDuty with optional filtering.
Args:
Returns: Paginated list of services.
{
"type": "object",
"properties": {
"limit": {
"type": "integer",
"default": 25,
"maximum": 100,
"minimum": 1
},
"query": {
"type": "string",
"description": "Search query"
},
"format": {
"enum": [
"json",
"markdown"
],
"type": "string"
},
"offset": {
"type": "integer",
"default": 0,
"minimum": 0
},
"teamIds": {
"type": "array",
"items": {
"type": "string"
},
"description": "Filter by team IDs"
}
}
}pagerduty_get_serviceGet a single service by ID.
Args:
Returns: The service record with all available fields.
{
"type": "object",
"properties": {
"format": {
"enum": [
"json",
"markdown"
],
"type": "string"
},
"serviceId": {
"type": "string",
"description": "Service ID"
}
}
}pagerduty_create_serviceCreate a new service in PagerDuty.
Args:
Returns: The created service.
{
"type": "object",
"required": [
"name",
"escalationPolicyId"
],
"properties": {
"name": {
"type": "string",
"description": "Service name"
},
"description": {
"type": "string",
"description": "Service description"
},
"autoResolveTimeout": {
"type": "number",
"description": "Auto-resolve timeout in seconds"
},
"escalationPolicyId": {
"type": "string",
"description": "Escalation policy ID"
},
"acknowledgementTimeout": {
"type": "number",
"description": "Acknowledgement timeout in seconds"
}
}
}pagerduty_update_serviceUpdate an existing service.
Args:
Returns: The updated service.
{
"type": "object",
"required": [
"serviceId"
],
"properties": {
"name": {
"type": "string",
"description": "New name"
},
"status": {
"enum": [
"active",
"disabled"
],
"type": "string",
"description": "New status"
},
"serviceId": {
"type": "string",
"description": "Service ID to update"
},
"description": {
"type": "string",
"description": "New description"
},
"autoResolveTimeout": {
"type": "number",
"description": "Auto-resolve timeout"
},
"escalationPolicyId": {
"type": "string",
"description": "New escalation policy ID"
},
"acknowledgementTimeout": {
"type": "number",
"description": "Acknowledgement timeout"
}
}
}pagerduty_delete_serviceDelete a service.
Args:
Returns: Confirmation of deletion.
{
"type": "object",
"required": [
"serviceId"
],
"properties": {
"serviceId": {
"type": "string",
"description": "Service ID to delete"
}
}
}pagerduty_list_teamsList teams from PagerDuty.
Args:
Returns: Paginated list of teams.
{
"type": "object",
"properties": {
"limit": {
"type": "integer",
"default": 25,
"maximum": 100,
"minimum": 1
},
"query": {
"type": "string",
"description": "Search query"
},
"format": {
"enum": [
"json",
"markdown"
],
"type": "string"
},
"offset": {
"type": "integer",
"default": 0,
"minimum": 0
}
}
}pagerduty_get_teamGet a single team by ID.
Args:
Returns: The team record.
{
"type": "object",
"required": [
"teamId"
],
"properties": {
"format": {
"enum": [
"json",
"markdown"
],
"type": "string"
},
"teamId": {
"type": "string",
"description": "Team ID"
}
}
}pagerduty_create_teamCreate a new team.
Args:
Returns: The created team.
{
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"description": "Team name"
},
"parentId": {
"type": "string",
"description": "Parent team ID"
},
"description": {
"type": "string",
"description": "Team description"
}
}
}pagerduty_update_teamUpdate an existing team.
Args:
Returns: The updated team.
{
"type": "object",
"required": [
"teamId"
],
"properties": {
"name": {
"type": "string",
"description": "New name"
},
"teamId": {
"type": "string",
"description": "Team ID to update"
},
"parentId": {
"type": "string",
"description": "New parent team ID"
},
"description": {
"type": "string",
"description": "New description"
}
}
}pagerduty_delete_teamDelete a team.
Args:
Returns: Confirmation of deletion.
{
"type": "object",
"required": [
"teamId"
],
"properties": {
"teamId": {
"type": "string",
"description": "Team ID to delete"
}
}
}pagerduty_list_team_membersList members of a team.
Args:
Returns: List of team members.
{
"type": "object",
"required": [
"teamId"
],
"properties": {
"format": {
"enum": [
"json",
"markdown"
],
"type": "string"
},
"teamId": {
"type": "string",
"description": "Team ID"
}
}
}pagerduty_add_team_memberAdd a user to a team.
Args:
Returns: Confirmation of addition.
{
"type": "object",
"required": [
"teamId",
"userId"
],
"properties": {
"role": {
"enum": [
"manager",
"observer",
"responder"
],
"type": "string",
"description": "Role for the user"
},
"teamId": {
"type": "string",
"description": "Team ID"
},
"userId": {
"type": "string",
"description": "User ID to add"
}
}
}pagerduty_remove_team_memberRemove a user from a team.
Args:
Returns: Confirmation of removal.
{
"type": "object",
"required": [
"teamId",
"userId"
],
"properties": {
"teamId": {
"type": "string",
"description": "Team ID"
},
"userId": {
"type": "string",
"description": "User ID to remove"
}
}
}pagerduty_list_usersList users from PagerDuty with optional filtering.
Args:
Returns: Paginated list of users.
{
"type": "object",
"properties": {
"limit": {
"type": "integer",
"default": 25,
"maximum": 100,
"minimum": 1
},
"query": {
"type": "string",
"description": "Search query"
},
"format": {
"enum": [
"json",
"markdown"
],
"type": "string"
},
"offset": {
"type": "integer",
"default": 0,
"minimum": 0
},
"teamIds": {
"type": "array",
"items": {
"type": "string"
},
"description": "Filter by team IDs"
}
}
}pagerduty_create_userCreate a new user in PagerDuty.
Requires X-PagerDuty-From header with a valid email address.
Args:
Returns: The created user.
{
"type": "object",
"required": [
"name",
"email"
],
"properties": {
"name": {
"type": "string",
"description": "User name"
},
"role": {
"type": "string",
"description": "User role"
},
"email": {
"type": "string",
"description": "User email"
},
"jobTitle": {
"type": "string",
"description": "Job title"
},
"timeZone": {
"type": "string",
"description": "User time zone"
},
"description": {
"type": "string",
"description": "User description"
}
}
}pagerduty_update_userUpdate an existing user.
Args:
Returns: The updated user.
{
"type": "object",
"required": [
"userId"
],
"properties": {
"name": {
"type": "string",
"description": "New name"
},
"role": {
"type": "string",
"description": "New role"
},
"email": {
"type": "string",
"description": "New email"
},
"userId": {
"type": "string",
"description": "User ID to update"
},
"jobTitle": {
"type": "string",
"description": "New job title"
},
"timeZone": {
"type": "string",
"description": "New time zone"
},
"description": {
"type": "string",
"description": "New description"
}
}
}pagerduty_delete_userDelete a user.
Args:
Returns: Confirmation of deletion.
{
"type": "object",
"required": [
"userId"
],
"properties": {
"userId": {
"type": "string",
"description": "User ID to delete"
}
}
}