WebMCP Registry

smarthome_toggle_light

verifiedv0.1

Turn a light on or off. Simulated demo; registered by the /smart-home page.

Updated 7/11/2026 · Created 7/11/2026

Input Schema

{
  "type": "object",
  "required": [
    "room",
    "state"
  ],
  "properties": {
    "room": {
      "enum": [
        "living-room",
        "bedroom",
        "kitchen"
      ],
      "type": "string",
      "description": "Room"
    },
    "state": {
      "enum": [
        "on",
        "off"
      ],
      "type": "string",
      "description": "On or off"
    }
  }
}

Full Contract

{
  "name": "smarthome_toggle_light",
  "description": "Turn a light on or off. Simulated demo; registered by the /smart-home page.",
  "inputSchema": {
    "type": "object",
    "required": [
      "room",
      "state"
    ],
    "properties": {
      "room": {
        "enum": [
          "living-room",
          "bedroom",
          "kitchen"
        ],
        "type": "string",
        "description": "Room"
      },
      "state": {
        "enum": [
          "on",
          "off"
        ],
        "type": "string",
        "description": "On or off"
      }
    }
  }
}

GET /api/tool/agentk.stacktr.ee/smarthome_toggle_light