Wait for something to happen
wait_for_eventWaits for selected live Minecraft events and returns the matching event or a timeout, so you can detect player joins, chat, console messages, and other server activity.
Instructions
Wait for a live event and get it, or time out: “tell me when Steve logs in”, “wait for the console to say Done”. Types are WebSocket topics: player.join, player.leave, player.death, player.advancement, player.chat (chat:read), player.whisper, player.command, and server.console (logs:read), player.respawn, player.level_up, player.sleep, player.world_change, player.kill, player.craft, block.break, block.place, world.weather, world.night_skipped, entity.boss_killed, raid.start, raid.finish, server.status, and more.
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": {
"types": "<types>"
},
"name": "wait_for_event"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| types | Yes | Such as ["player.join"] | |
| world | No | Only this world's | |
| player | No | Only this player's | |
| timeoutSeconds | No | Then answers timedOut. Clients built on the MCP SDK give up at 60 |