Gamification: Leave challenge
leave_challenge Leave an active challenge for the current period.
Removes the user from the challenge so it can be re-joined later (a
re-join re-counts the period's activity). Completed challenges are not
affected.
Args:
challenge_slug: The slug identifier of the challenge to leave
Returns:
Confirmation, or an error if the user wasn't in that challenge.
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": {
"challenge_slug": "<challenge_slug>"
},
"name": "leave_challenge"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| challenge_slug | Yes |