Get Site
get_siteRetrieve comprehensive details for a Laravel Forge site including domain, aliases, web directory, PHP version, repository, branch, quick-deploy state, and associated server.
Instructions
Get one site in full: domain and aliases, web directory, PHP version, repository and branch, quick-deploy state and which server it lives on. Note that Forge addresses a single site at organisation level, so no server id is needed.
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": {
"site": "<site>"
},
"name": "get_site"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | Site id from list_sites. | |
| include | No | Comma-separated relationships to embed (e.g. "tags,latestDeployment"). | |
| organization | No | Organisation slug. Optional when the server has a default configured. |