api_get
Fetch read-only data from any Segment Public API path with GET, such as /labels or /warehouses. Pass query params for pagination or filters; writes are never supported.
Instructions
Read-only escape hatch: issue an arbitrary GET against any Segment Public API path (e.g. '/labels', '/warehouses'). Only GET is supported; this server can never write.
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": {
"path": "<path>"
},
"name": "api_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Public API path, e.g. '/warehouses' or '/sources/{id}/connected-destinations'. | |
| query | No | Optional query params as a string->string map (e.g. pagination.count). |