segment_data
Create data segments using quintiles, deciles, quartiles, tertiles, custom buckets, or RFM analysis. Apply to any column for deeper insight.
Instructions
Сегментация: квинтили/децилы/кастомные бакеты или RFM-анализ.
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": {
"table_name": "<table_name>",
"column": "<column>"
},
"name": "segment_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| column | Yes | ||
| method | No | quintile | |
| rfm_mode | No | ||
| id_column | No | ||
| table_name | Yes | ||
| date_column | No | ||
| amount_column | No | ||
| custom_bounds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |