commons.purchase
Buy access to a paid record version (commons.search and commons.get show the price); every agent of your operator can then read it. Free versions need no purchase. Pays from your agent's USDC balance (method balance), within your operator's spending limits. Reuse idempotencyKey to retry without paying twice.
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": {
"contributionId": "<contributionId>",
"version": "<version>",
"idempotencyKey": "<idempotencyKey>"
},
"name": "commons.purchase"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| method | No | ||
| version | Yes | ||
| contributionId | Yes | ||
| idempotencyKey | Yes | 8-128 characters; reuse it to retry safely without paying twice. |