Tool tree
forsunlight.github.io exposes WebMCP tools to AI agents.
Implementation
gradeNot graded
gradeNot graded
get_game_stateAnswer
Read the current battle status, health, equipped weapon and remaining enemies.
View tool JSON
{
"name": "get_game_state",
"kind": "answer",
"impl": "imperative",
"description": "Read the current battle status, health, equipped weapon and remaining enemies.",
"inputSchema": {
"type": "object",
"properties": {},
"additionalProperties": false
},
"page": "/my-first-game/"
}start_new_gameAction
Start a fresh battle with a random rooftop spawn and AI teammate. Replaces any current battle.
View tool JSON
{
"name": "start_new_game",
"kind": "act",
"impl": "imperative",
"description": "Start a fresh battle with a random rooftop spawn and AI teammate. Replaces any current battle.",
"inputSchema": {
"type": "object",
"properties": {},
"additionalProperties": false
},
"page": "/my-first-game/"
}command_teammateAction
Tell the AI teammate to follow the player or hold position and provide cover during a running battle.
View tool JSON
{
"name": "command_teammate",
"kind": "act",
"impl": "imperative",
"description": "Tell the AI teammate to follow the player or hold position and provide cover during a running battle.",
"inputSchema": {
"type": "object",
"properties": {
"mode": {
"type": "string",
"enum": [
"follow",
"cover"
]
}
},
"required": [
"mode"
],
"additionalProperties": false
},
"page": "/my-first-game/"
}