call_paid_service
Invoke any Glitter Agent Gate endpoint by service slug and sub-path to get status, result, and XRP/RLUSD x402 payment details; without a wallet, receive a quote and no charge.
Instructions
Generic caller for any Glitter Agent Gate endpoint (own tools or listed providers) by service slug and sub-path. Returns {status, http, result, payment:{asset, amount, tx, explorer}}. Paid per call with x402 from your XRPL_SEED wallet (XRP or RLUSD, capped by MAX_*PER_CALL and SESSION_BUDGET*). Without a wallet it returns the price quote and charges nothing. Failed calls are not charged.
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": "<service>"
},
"name": "call_paid_service"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | JSON body for POST endpoints | |
| path | No | Sub-path, e.g. "/account" | |
| asset | No | Asset to pay with on the XRP Ledger: XRP (default) or RLUSD | |
| query | No | Query parameters | |
| method | No | ||
| service | Yes | Service slug from list_services, e.g. xrpl-data |