Read Upstream API
call_apiGET any Upstream REST API endpoint as the signed-in user, for anything the other tools don't cover. The OpenAPI document is at /v1/openapi.json (call_api with path /openapi.json). Responses are {data, page?}.
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": "call_api"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path under /v1, e.g. /repos/acme/web/labels. | |
| query | No |