php_eval
Execute PHP code directly in IP-Symcon for quick testing of code snippets, variable IDs, and more without creating a persistent script.
Instructions
Führt PHP-Code direkt in IP-Symcon aus ohne ein persistentes Skript anzulegen. Ideal zum schnellen Testen von Code-Schnipseln, Variablen-IDs prüfen, etc. Erstellt intern ein Temp-Skript, führt es aus, löscht es wieder.
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": {
"code": "<code>"
},
"name": "php_eval"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | PHP-Code der ausgeführt werden soll (ohne <?php Tag) |