Create AccountReferralCode
accountreferralcode_createCreates AccountReferralCode with your own account permissions, the same as the site. Without confirm it shows a preview and saves nothing.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "accountreferralcode_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | ||
| kind | No | ||
| name | No | ||
| confirm | No | Saves the change. Omitted: shows a preview and saves nothing. | |
| branch_url | No | ||
| creative_id | No | ||
| partner_code | No | ||
| reward_amount | No | ||
| reward_currency | No | ||
| consumer_user_id | No | Act on this seat (own seat, account owner or admin, or staff). Same checks as the site. | |
| partner_reward_kind | No | ||
| partner_reward_value | No | ||
| partner_reward_currency | No | ||
| partner_consumer_user_id | No |