call_api
Route an HTTP request to a catalog peer API with authentication drawn from the peer's configured environment variables, such as GITHUB_TOKEN or SLACK_BOT_TOKEN.
Instructions
Call a catalog peer HTTP API. Auth comes from the peer's authEnv (GITHUB_TOKEN, SLACK_BOT_TOKEN, CURSOR_API_KEY, ...).
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": {
"peer": "<peer>",
"path": "<path>"
},
"name": "call_api"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | ||
| path | Yes | ||
| peer | Yes | ||
| httpMethod | No |