Home / Servers / Vercel API / update_flag_segment
Update a segment
An MCP tool from the Vercel API server, hosted on mcp.hjlabs.in.
Update a segment Update an existing feature flag segment. [PATCH /v1/projects/{projectIdOrName}/feature-flags/segments/{segmentIdOrSlug}]
Name on the gateway: vercel_api__update_flag_segment · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
projectIdOrName required | string | The project id or name |
segmentIdOrSlug required | string | The segment slug |
withMetadata | boolean | Whether to include metadata |
teamId | string | The Team identifier to perform the request on behalf of. |
slug | string | The Team slug to perform the request on behalf of. |
operations | array | |
label | string | |
description | string | |
data | object | The data of the segment |
hint | string |
How to call it
Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:
{
"name": "vercel_api__update_flag_segment",
"arguments": {
"projectIdOrName": "…",
"segmentIdOrSlug": "…"
}
}Or connect the Vercel API server directly, which lists 472 tools including this one:
claude mcp add --transport http hj-vercel-api https://mcp.hjlabs.in/mcp/vercel-api \
--header "Authorization: Bearer YOUR_API_KEY"Try asking
Use the update a segment tool with projectIdOrName set to ….