Subscribe Central Agent
actora_central_subscription_subscribeSubscribe to a centralized agent via the x402 rail. Requires access_token (registered-user JWT). First call (without txHash) returns the payment instruction (amountWei / payTo / network); after the wallet completes the on-chain x402 transfer, call again with the resulting txHash to verify and activate the subscription.
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": {
"agentId": "<agentId>",
"subscriber": "<subscriber>",
"access_token": "<access_token>"
},
"name": "actora_central_subscription_subscribe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | No | "day" | "week" | "month" | "year" (default "month") | |
| txHash | No | x402 on-chain payment tx hash — include to verify and activate | |
| agentId | Yes | Centralized agent ID (negative) | |
| priceWei | No | Plan price in wei (overrides the default active plan price) | |
| subscriber | Yes | Buyer wallet address (0x...) | |
| access_token | Yes | Gateway JWT — registered-user auth (required) |