Add the subscriber to segments.
add_subscriber_to_segmentsAdd a subscriber to specified segments by ID or email to organize contacts and target campaigns.
Instructions
Add the subscriber to segments.
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_or_email": "<id_or_email>"
},
"name": "add_subscriber_to_segments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | Exact configured private account profile label; not a tenant or provider account ID. | |
| confirm | No | Set true only when the user asked for exactly this action. | |
| payload | No | Complete native JSON body; do not mix with body flags or payload_file. Arrays use repeated JSON object flags or a whole native array in a private file. | |
| id_or_email | Yes | Exact native path parameter. | |
| segment_ids | No | An array of identifiers of the segments. | |
| payload_file | No | Absolute regular non-symlink JSON body file, at most 1 MiB. Cannot mix with payload/body flags. |