Read a HomeyScript script
homey_script_getRetrieve a single script's code from Homey Pro using its ID or exact name.
Instructions
Returns one script including its code. Takes the id or the exact name, as reported by homey_scripts_list.
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": {
"script": "<script>"
},
"name": "homey_script_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| script | Yes | The script id, or its exact name. |