spl_quote
Quote a metered PCC job before running it: price in USD for the given byte count, product, and operation. Read-only and free; returns the quote without charging or reserving anything. First 1 GB free once per IP, then $0.25/GB of input, $1 card minimum. Use before spl_compress on large inputs; use spl_catalog for standing SKUs.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "spl_quote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| op | No | Operation: compress, decompress, or roundtrip. Defaults to compress. | |
| bytes | No | Payload bytes. First 1 GB free once per IP. | |
| product | No | Product to price: auto, zrw, blackjack, shard-zip, shard-tsdb, or slid-phi. Defaults to auto. | |
| dataClass | No | Data class of the payload (e.g. text, logs, json) when known; used to pick the best product. Defaults to unknown. |