Get Deployment Script
get_deployment_scriptRetrieve the deployment script for a Laravel Forge site to view the commands executed on each deploy.
Instructions
The site's deployment script — the commands Forge runs on each deploy. Read-only: this cannot change the script.
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": {
"server": "<server>",
"site": "<site>"
},
"name": "get_deployment_script"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | Site id from list_sites. | |
| server | Yes | Server id the site is on. | |
| organization | No | Organisation slug. Optional when the server has a default configured. |