Change a member's XP
modify_xpOutward: Add, subtract or set a member's XP. Members see this: it moves them on the leaderboard and can cross an XP-role threshold, which grants a Discord role. subtract floors at 0; set is an absolute value, not a delta. Confirm the number with the human before calling.
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": {
"member_id": "<member_id>",
"operation": "<operation>",
"amount": "<amount>"
},
"name": "modify_xp"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | ||
| member_id | Yes | Member id, from list_members. | |
| operation | Yes |