saliltambe's picture
Upload functiongemma_270m_lora_gpu/tools.json with huggingface_hub
c977cb2 verified
Raw History Blame Contribute Delete
1.46 kB
[
{
"name": "set_device_state",
"description": "Turn a smart-home device on or off.",
"parameters": {
"type": "object",
"properties": {
"device_id": {
"type": "string",
"description": "Device ID formatted as <device_type>.<room>"
},
"state": {
"type": "string",
"description": "on or off"
}
},
"required": [
"device_id",
"state"
]
}
},
{
"name": "set_brightness",
"description": "Set the brightness of a light.",
"parameters": {
"type": "object",
"properties": {
"device_id": {
"type": "string",
"description": "Light ID formatted as light.<room>"
},
"level": {
"type": "integer",
"description": "Brightness percentage from 0 to 100"
}
},
"required": [
"device_id",
"level"
]
}
},
{
"name": "set_temperature",
"description": "Set the target temperature of a room.",
"parameters": {
"type": "object",
"properties": {
"zone_id": {
"type": "string",
"description": "Climate zone ID formatted as climate.<room>"
},
"celsius": {
"type": "integer",
"description": "Target temperature in degrees Celsius"
}
},
"required": [
"zone_id",
"celsius"
]
}
}
]