Update segment
update_segmentRename a segment or replace its rules.
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": {
"id": "<id>"
},
"name": "update_segment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Segment id | |
| name | No | Segment name | |
| match | No | all: a contact must match every rule. any: at least one rule | all |
| rules | No | Up to 10 rules that decide who matches | |
| description | No | What the segment is for |