List Teams

List all teams for an organization

Usage #

// Import the typed helper
import { listTeams } from "@hotglue/sdk/sentry";
const result = await client.execute({
...listTeams({
organization_id_or_slug: string,
cursor: string,
}),
userId: "user_123",
});
// result is typed as ListTeamsOutput
const result = await client.execute({
integration: "sentry",
tool: "list_teams",
userId: "user_123",
input: {
organization_id_or_slug: string,
cursor: string,
},
});
// The agent will automatically use this tool when needed
const agent = new Agent({
tools: () => hotglueTools({
integrations: ["sentry"],
userId: "user_123",
}),
});
await agent.generate("run the List Teams tool");

Input Schema #

organization_id_or_slug string required

Organization ID or slug

cursor string

Pagination cursor

This tool calls: #

GET https://sentry.io/api/0/organizations/{organization_id_or_slug}/teams/