update_segment
Update an existing email segment by changing its name or refining its filter conditions to target the right contacts.
Instructions
Update a segment's name or filter (PATCH /segments/:id).
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 | The segment id. | |
| name | No | ||
| filter | No | e.g. { status: 'unsubscribed', property_filters: [{ key, operator, value? }] }. |