Get Issue

Retrieve details for a specific issue

Usage #

// Import the typed helper
import { getIssue } from "@hotglue/sdk/sentry";
const result = await client.execute({
...getIssue({
issue_id: string,
}),
userId: "user_123",
});
// result is typed as GetIssueOutput
const result = await client.execute({
integration: "sentry",
tool: "get_issue",
userId: "user_123",
input: {
issue_id: 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 Get Issue tool");

Input Schema #

issue_id string required

Issue ID

Output Schema #

id string required
title string required
culprit string
permalink string

Link to the issue

status string
level string
count string
userCount int

This tool calls: #

GET https://sentry.io/api/0/issues/{issue_id}/