Update Audience Segment
update-audience-segmentModify an audience segment by updating its name, list restriction, or match conditions; provide only changed fields, and supply conditions to replace the full rule set.
Instructions
Update an audience segment. All fields are optional — only provided fields change. Providing conditions replaces the entire condition set.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"segmentId": "<segmentId>"
},
"name": "update-audience-segment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New segment name | |
| list_id | No | New list restriction (null removes the restriction) | |
| segmentId | Yes | The segment ID to update | |
| conditions | No | Segment match rules. `groups` are ANDed; conditions within a group are ORed. |