call_api
Call any OmniStream marketplace API via proxy. Authenticate with your Omni key; no upstream key required. Provide slug, operation, and optional query parameters or request body.
Instructions
Call any published API on the OmniStream marketplace using the proxy. Your Omni key (OMNI_KEY env var) authenticates the request - you never need the upstream API key. Use get_api first to learn the available endpoints and their parameters.
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": {
"slug": "<slug>",
"operation": "<operation>"
},
"name": "call_api"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Request body for POST endpoints. If provided, the request is sent as POST with JSON body. | |
| slug | Yes | The API slug (e.g. 'skinapi'). | |
| params | No | Query string parameters as key-value pairs (e.g. {"q": "ak 47", "limit": "10"}). | |
| operation | Yes | The operationId of the endpoint to call (e.g. 'status', 'items-search'). Get these from get_api or list_endpoints. |