Play one track for a single session
play_track_sessionPlay a single track once in a session ($0.05 USDC via x402 v2 or v1). One play, no ownership: no file is kept, no session token and no signed receipt are issued. Returns the play URL and x402 payment requirements; GET the URL with a PAYMENT-SIGNATURE (v2) or X-PAYMENT (v1) header to receive the MP3 once. To own the track instead, use purchase_track ($5.99).
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": "play_track_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | No | ||
| track_id | Yes | ||
| session_id | Yes |