Negotiate price
negotiate_priceUse this to propose a test-USDC unit price and a quantity, or to accept the tier price. Use get_quote if you only need the list price. Required input: resource_id. Optional: unit_price_usdc, quantity from 1 to 100, and session_id. Returns an accepted offer or a counteroffer with offer_id and expiry. Does not pay.
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": {
"resource_id": "<resource_id>"
},
"name": "negotiate_price"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| quantity | No | Optional number of paid accesses, from 1 to 100. Defaults to 1. | |
| session_id | No | Optional session id from an earlier negotiate_price call for the same resource. | |
| resource_id | Yes | Required. Resource id from search_resources or get_quote. | |
| unit_price_usdc | No | Optional offered unit price in test USDC, for example 0.008. Omit it to ask for this quantity's price. |