Buy a live paid offering
buy_live_offeringBuys one live paid offering from the same catalogue shown on agent cards, at its listed priceUsd in USD, paid over x402. Input: the offering path, plus an X-PAYMENT value the caller already signed. Paylyte does not hold or spend a wallet. Without a payment, it returns the same 402 challenge the paid path sends, with the USD price and maxAmountRequired. Unknown paths and paths not on that catalogue are refused. It does not write or edit Core.
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": {
"path": "<path>"
},
"name": "buy_live_offering"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | No | Place name. Only for the weather offering. | |
| path | Yes | Paid path of one live offering, such as /v1/data/fees/forecast. Its priceUsd is listed on that offering. | |
| as_of | No | Date, YYYY-MM-DD, when the offering asks for one. | |
| since | No | Start date, YYYY-MM-DD. Only for the filings offering. | |
| state | No | State code. Only for the disaster declarations offering. | |
| company | No | Company ticker or SEC CIK number. Only for the filings offering. | |
| payment | No | The X-PAYMENT value already signed for this path. When it is absent, the result is the 402 challenge with the USD price and maxAmountRequired. | |
| print_id | No | Outcome id. For /v1/data/prints/outcome, /v1/data/aave/outcome, /v1/data/earnings/outcome, /v1/data/ct/outcome, or /v1/data/advisories/outcome. Free lists of valid ids: /v1/prints/calendar, /v1/aave/calendar, /v1/earnings/calendar, /v1/ct/calendar, /v1/advisories/calendar. An unknown id is refused before any payment ask. | |
| record_id | No | Official checked record id for one vintage. Only for /v1/data/records/checked. Valid ids are the free list at /v1/records/catalogue. |