Check a Perps invite code
check_perps_invite_codeValidates a Polymarket Perps invite code and optionally checks whether a given address can use it.
Instructions
Whether a Perps invite code is valid, optionally for a given address.
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": {
"code": "<code>"
},
"name": "check_perps_invite_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ||
| address | No | Would this address be able to use it? |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||