dex_update_group
Modify group details in Dex CRM by updating the name or emoji for a specific group using its unique identifier.
Instructions
Update a group's name or emoji by ID.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| groupId | Yes | ||
| name | No | ||
| emoji | No |
Implementation Reference
- src/tools/groups.ts:39-57 (handler)The handler implementation for the dex_update_group tool, which takes a groupId, optional name, and optional emoji to perform a PUT request to the dex API.
server.tool( "dex_update_group", "Update a group's name or emoji by ID.", { groupId: z.string(), name: z.string().optional(), emoji: z.string().optional(), }, async (args) => { try { const result = await dex.put(`/v1/groups/${args.groupId}`, { group: { name: args.name, emoji: args.emoji }, }); return toResult(result); } catch (error) { return toError(error); } } );