Services purchase
services_purchaseBuy a fixed-price service in a single call: validates scope, computes price, and charges immediately, eliminating seller round-trip.
Instructions
Buy a fixed-price service in one call: validates the scope, computes the deterministic price, creates the quote thread directly in accepted, and charges immediately — no human seller round-trip. Same delegation/envelope enforcement as services_accept_quote.
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": {
"service_listing_id": "<service_listing_id>",
"scope": "<scope>",
"acknowledged_confirmation": "<acknowledged_confirmation>"
},
"name": "services_purchase"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | Yes | Scope-of-work values; must conform to the listing's scope_schema. The metered field drives the computed price. | |
| payment_method_id | No | UUID of a saved payment method to charge. Omitted = envelope-bound card, else the principal's default. | |
| requested_summary | No | Free-text description of the work being requested. | |
| confirmation_token | No | Token from the confirmation_required kickback; must match to complete the charge. | |
| service_listing_id | Yes | UUID of the fixed-price service listing to buy. | |
| __outcomeForTesting | No | Test-only: force a simulated card outcome. Never set in production. | |
| acknowledged_confirmation | Yes | Set true when retrying after a confirmation_required kickback, together with confirmation_token. |