My AI Trading invite codes
get_my_invite_codesThe user's AI Trading (AGENT-) invite codes with share links, the friends who redeemed them and the USDC earned from their trading fees. Read-only. Use for "my invite codes", "invite a friend", "how much have my referrals earned".
codes[]: eachAGENT-code withstatus(unused / redeemed / activated),share_url(the https invite link) andshare_text(the app's share message, code and link filled in).share_text/invite_linkat the top are the NEXT unused code's: hand that text to the user to send to a friend, one code per friend;unused_countis how many are left (Moby tops them up).friends[]: who redeemed a code (joined_at,activated,earned_usdcfrom them, theiragent_walletsandagent_trades_count).pending_usdc(not yet swept),swept_usdc(paid to the agent wallet),earned_usdc(all time),fee_share_pct(the share of each friend's trading fees the user earns),sweep_threshold_usdc. Never Copy Trading (COPY-) codes: those are a different product and are not on this surface.enabled: false= the referral program is off; say so instead of sharing.
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": "get_my_invite_codes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||