Purchase one wellness music track
purchase_trackPurchase a single track ($5.99 USDC via x402 v2 or v1). Returns the stream URL and x402 payment requirements; GET the URL with a PAYMENT-SIGNATURE (v2) or X-PAYMENT (v1) header to receive the MP3 and an X-LGDA-Session token, then POST telemetry to /verify-session for a signed receipt.
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": {
"track_id": "<track_id>",
"session_id": "<session_id>"
},
"name": "purchase_track"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | No | ||
| track_id | Yes | ||
| session_id | Yes |