Usage #
// Import the typed helper
import { updateProject } from "@hotglue/sdk/sentry";
const result = await client.execute({
...updateProject({
organization_id_or_slug: string,
project_id_or_slug: string,
name: string,
// ...
}),
userId: "user_123",
});
// result is typed as UpdateProjectOutput
const result = await client.execute({
integration: "sentry",
tool: "update_project",
userId: "user_123",
input: {
organization_id_or_slug: string,
project_id_or_slug: string,
name: 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 Update Project tool");
Input Schema #
organization_id_or_slug
string
required
Organization ID or slug
project_id_or_slug
string
required
Project ID or slug
name
string
Project name
slug
string
Project slug
platform
string
Project platform
This tool calls: #
PUT
https://sentry.io/api/0/projects/{organization_id_or_slug}/{project_id_or_slug}/