update_segment
Update an existing SendGrid segment by specifying its ID, along with optional new name and query DSL to redefine the segment's criteria.
Instructions
Mutating: update a SendGrid Segments v2 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": "update_segment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Updated segment name | |
| query_dsl | No | Updated SendGrid segment query DSL | |
| segment_id | Yes | Segment ID |