Estimate a fetch (no call)
liquid_estimatePredict item count, bytes, tokens, credits, and latency for a fetch without making any API or LLM call. Use the estimate to decide if narrowing the pull with liquid_query is needed.
Instructions
Pre-flight estimate for a fetch — predicted item count, bytes, tokens, credits and latency, each with a confidence and source — without making any HTTP call or LLM call. Read-only and free. Returns {estimate: {...}}. Check this before a potentially large liquid_fetch to decide whether to narrow the pull with liquid_query (filter/aggregate) first. Requires an adapter_id from liquid_connect.
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": {
"adapter_id": "<adapter_id>"
},
"name": "liquid_estimate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| adapter_id | Yes | An adapter id returned by liquid_connect (or listed by liquid_list_adapters). | |
| endpoint | No | Optional endpoint path to act on (e.g. "/users"); defaults to the adapter's primary endpoint. Use a path shown by liquid_connect / liquid_list_adapters. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| estimate | No | Predicted items, bytes, tokens, credits, latency with confidence + source. | |
| error | No |