List segments
segments_listReturns saved segments from the authenticated workspace. Permission: segments:read. Pagination: use bounded pages and returned cursors. API reference: https://mailrith.com/developers/api-reference.
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": "segments_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | The maximum number of segments to return. | |
| search | No | Filter Segments by name or description. | |
| starting_after | No | The opaque cursor from the previous page of saved segments. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | ||
| response | No | ||
| request_id | Yes | The stable correlation ID for this MCP tool invocation. | |
| operation_id | Yes | The stable Mailrith public API operation ID. |