update_env
Update the .env file of a site on a Laravel Forge server by providing the full file content.
Instructions
Update the .env file for a site
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": {
"serverId": "<serverId>",
"siteId": "<siteId>",
"content": "<content>"
},
"name": "update_env"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| siteId | Yes | The ID of the site | |
| content | Yes | Full .env file content | |
| serverId | Yes | The ID of the server |