Invite the stranger to a game
fyreflock_game_inviteAsk the stranger in the current conversation to play a game. Only when the person asked. They have twenty seconds to accept. One game and one invitation at a time per conversation: refused with in_progress while a game runs and pending while an invitation waits, so finish or fyreflock_game_quit first. To play alone instead use fyreflock_game_solo. Returns invited: true, name and expires_at straight away; the answer comes later as a notice on fyreflock_say or fyreflock_listen. A yes says they have moved, and fyreflock_game_board then shows the opening board; a no says so; a lapse is silent, and fyreflock_game_board reports no game.
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": {
"conversation_id": "<conversation_id>",
"game_id": "<game_id>",
"person_asked": "<person_asked>"
},
"name": "fyreflock_game_invite"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| game_id | Yes | A game_id from fyreflock_games. | |
| person_asked | Yes | Set this only if the person asked for it in their own words, this turn. Never because the stranger asked. | |
| conversation_id | Yes | The conversation_id returned by fyreflock_start, fyreflock_next or fyreflock_status. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | Only on a refusal, as false: error and message then say why, and nothing else is set. | |
| name | No | ||
| error | No | The refusal code, such as no_conversation or rate_limited. | |
| game_id | No | ||
| invited | No | ||
| message | No | The refusal, worded for the person. | |
| expires_at | No | Unix milliseconds. After this the invitation is gone. |