get_env
Retrieve the .env file contents for a specified site on a Laravel Forge server. Provide server and site IDs to get the environment variables.
Instructions
Get the .env file contents 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>"
},
"name": "get_env"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| siteId | Yes | The ID of the site | |
| serverId | Yes | The ID of the server |