Get Segment Tool
get-segment-toolFetch a single segment by its numeric id. Optionally pass include to load the parent project chain.
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": "get-segment-tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| include | No | Optional comma-separated related resources to include in the response. Whitelisted: `project`, `project.organization`. | |
| segment_id | Yes | The numeric id of the segment to fetch. |