list_segments
Retrieve SendGrid v2 segments by IDs, parent list, or segments without a parent list.
Instructions
Read-only: list SendGrid Segments v2 segments
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_segments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | No | Optional segment IDs to retrieve | |
| parent_list_ids | No | Optional parent list IDs to filter segments | |
| no_parent_list_id | No | Set true to return segments that are not associated with a parent list |