aman_invoke_service
Call a paid agent service (AmanPay x402). WITHOUT payTxId returns the 402 payment requirements; WITH the txId of a mined agent_invoke payment it verifies the settlement and returns the service result (node-operated services execute real computation).
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": {
"serviceId": "<serviceId>"
},
"name": "aman_invoke_service"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payTxId | No | Transaction id of the agent_invoke payment (step 2 of x402) | |
| request | No | Request payload, e.g. a token symbol for the audit service | |
| serviceId | Yes | Service handle from aman_list_services |