update_segment
Update a segment by ID. Clear the description by passing null, or replace the definition with a new one.
Instructions
Update a segment by id (partial). Pass an explicit null for description to clear it; a new definition replaces the old one wholesale.
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": "<id>"
},
"name": "update_segment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Segment id. | |
| name | No | ||
| sender | No | Product/sender externalId sent as X-Drin-Sender. Required only for account-wide API keys; overrides the server's default sender. | |
| definition | No | ||
| description | No | New description, or null to clear it. |