Update Organization

Update organization settings and configurations

Usage #

// Import the typed helper
import { updateOrganization } from "@hotglue/sdk/sentry";
const result = await client.execute({
...updateOrganization({
organization_id_or_slug: string,
name: string,
slug: string,
}),
userId: "user_123",
});
// result is typed as UpdateOrganizationOutput
const result = await client.execute({
integration: "sentry",
tool: "update_organization",
userId: "user_123",
input: {
organization_id_or_slug: string,
name: string,
slug: 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 Organization tool");

Input Schema #

organization_id_or_slug string required

Organization ID or slug

name string

Organization name

slug string

Organization slug

This tool calls: #

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