Переименовать сегмент
rename_segmentRenames a segment in Yandex Audience using its ID and a new name, then returns the updated segment data in the response.
Instructions
Изменяет сегмент. В схеме изменения доступно только поле name, так что фактически это переименование. Работает с сегментом любого типа; ответ — {"segment": {...}} с обновлёнными данными.
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_id": "<segment_id>",
"name": "<name>"
},
"name": "rename_segment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Новое название сегмента. | |
| segment_id | Yes | Идентификатор сегмента (id из list_segments или из ответа создания). |