engine_php_add
Create a PHP file by path: under units/ it makes a module with JSON and view folders; any other path makes a root script beside index.php.
Instructions
Create a php file by the same path load and save speak. units/.php makes a module - its .json and a view folder in every template set come with it; any other path makes a root script beside index.php.
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": {
"path": "<path>"
},
"name": "engine_php_add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |