purchase_study
Buy and schedule a quoted Pebbler study with a configured wallet, charging USDC within code-enforced budgets. Retry with the same idempotency key to recover pending payments without double-charging.
Instructions
Purchase and schedule the quoted study using the locally configured wallet. Charges USDC, subject to code-enforced budgets. Reuse the original idempotency_key on every retry. Pending payment/launch responses must be recovered through this same tool without another payment.
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": {
"study_id": "<study_id>",
"idempotency_key": "<idempotency_key>"
},
"name": "purchase_study"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| study_id | Yes | ||
| idempotency_key | Yes |