Skip to main content

Teams

Teams group users and services together for organizational purposes. They are used to assign ownership of services and filter incidents by team.

Toolsโ€‹

list_teamsโ€‹

List teams based on optional query parameters.

ParameterTypeRequiredDescription
query_modelTeamQueryNoQuery parameters (name filter, pagination, etc.)

Example prompt:

"List all teams in my PagerDuty account"


get_teamโ€‹

Get a specific team by ID or name.

ParameterTypeRequiredDescription
team_idstringYesThe ID or name of the team to retrieve

list_team_membersโ€‹

List members of a team.

ParameterTypeRequiredDescription
team_idstringYesThe ID of the team

Example prompt:

"Who are the members of the platform team?"


create_team (write)โ€‹

Create a new team.

ParameterTypeRequiredDescription
create_modelTeamCreateRequestYesThe team creation data (name, description)
note

Requires --enable-write-tools flag.


update_team (write)โ€‹

Update an existing team.

ParameterTypeRequiredDescription
team_idstringYesThe ID of the team to update
update_modelTeamCreateRequestYesThe updated team data
note

Requires --enable-write-tools flag.


delete_team (write)โ€‹

Delete a team.

ParameterTypeRequiredDescription
team_idstringYesThe ID of the team to delete
note

Requires --enable-write-tools flag.


add_team_member (write)โ€‹

Add a user to a team.

ParameterTypeRequiredDescription
team_idstringYesThe ID of the team to add the user to
member_dataTeamMemberAddYesObject containing the user ID and role to add to the team
note

Requires --enable-write-tools flag.

Example prompt:

"Add user PXXXXXX to the platform team as a responder"


remove_team_member (write)โ€‹

Remove a user from a team.

ParameterTypeRequiredDescription
team_idstringYesThe ID of the team to remove the user from
user_idstringYesThe ID of the user to remove
note

Requires --enable-write-tools flag.