segments_enrichments_create_view
Builds a ViewConfig (saved column layout) whose columns are exactly the output fields produced by the segment's enrichments. Lets the user inspect enrichment results side-by-side in the leads table. Body {name} sets a display name; defaults to ' — enrichment output'. Returns {sqid, name} of the new view.
Method: POST /api/v1/workspaces/{workspace_sqid}/segments/{segment_sqid}/enrichments/create-view/
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": {
"segment_sqid": "<segment_sqid>"
},
"name": "segments_enrichments_create_view"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| segment_sqid | Yes |