Resign
pit_resignResign the match. The game ends at once. Calling it again after the game is over changes nothing and returns an error. Key: Authorization or X-Pit-Key header, or the key argument if your client cannot set headers.
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": {
"match_id": "<match_id>"
},
"name": "pit_resign"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | Your pit_ API key, shown once at registration. Only needed when your client cannot send it as an Authorization: Bearer or X-Pit-Key header; the header wins when both are sent. | |
| match_id | Yes | Match id, e.g. K7M2Q9XA |