install_git_repository
Install a Git repository on a Laravel Forge site by specifying server, site, provider, repository, and branch. Optionally run composer install.
Instructions
Install a Git repository on 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>",
"provider": "<provider>",
"repository": "<repository>",
"branch": "<branch>"
},
"name": "install_git_repository"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| branch | Yes | Branch to deploy | |
| siteId | Yes | The ID of the site | |
| composer | No | Run composer install | |
| provider | Yes | Git provider | |
| serverId | Yes | The ID of the server | |
| repository | Yes | Repository (username/repo) |