Create Segment Tool
create-segment-toolCreate a new segment for a project. Segment names are unique per project, case-insensitive, so sending a duplicate (in any casing) returns an error.
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": {
"project_id": "<project_id>",
"name": "<name>"
},
"name": "create-segment-tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The segment label (max 64 characters). Names are unique per project, case-insensitive, so "Direct Competitors" and "direct competitors" collide. | |
| project_id | Yes | The numeric id of the project the segment belongs to. |