Read a script
myio_script_getRetrieve the source code and current state of a specified myIO script slot to inspect or edit automation logic.
Instructions
The source code of script slot N (prog/N.txt) and its state. Language reference: myio_reference topic=script. Editor/admin level.
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": {
"id": "<id>"
},
"name": "myio_script_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| server | No | controller name (default Ground floor) |