execute_api_call
Call any public Relay API endpoint with full parameters to access advanced features like slippage, fees, and route details not available in dedicated tools.
Instructions
Call any public Relay API endpoint with full parameters and get the raw, unfiltered response.
Use get_api_schema first to discover endpoints and their parameter schemas, then use this tool to call them. This gives you access to all API features that the dedicated tools simplify away — for example:
Full /quote/v2 params: slippageTolerance, appFees, includedSwapSources, useExternalLiquidity, topupGas, maxRouteLength, etc.
Full response data: detailed fee breakdowns, route objects, slippage details, protocol data, swap impact
Endpoints without dedicated tools: /price (lightweight pricing), /currencies/v2, /execute/* (with pre-signed data)
Advanced /requests/v2 query params: sortBy, sortDirection, includeOrderData, referrer, includeChildTxs
For common operations (simple quotes, token search, chain status), prefer the dedicated tools — they validate inputs, resolve chain names/token symbols, and format responses. Use this tool when you need parameters or response fields those tools don't expose.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Request body (for POST/PUT requests). Pass the full JSON object as documented in the API schema. | |
| path | Yes | API endpoint path (e.g. '/quote/v2', '/chains', '/requests/v2'). Must start with '/'. | |
| method | No | HTTP method. | GET |
| params | No | Query parameters as key-value string pairs (for GET requests or additional query params). |