Deploy app
deploy_appStarts a new build and deploy of an existing app: from the Git URL and revision you pass, or else from the app's connected repository and tracked branch. Returns the build id and how to follow it. Changes the running app: confirm with the user first.
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": {
"name": "<name>"
},
"name": "deploy_app"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The app's name. | |
| app_dir | No | Directory inside the repository to build, for a repository that holds more than one app (only together with git_url; "" is the repository root). Defaults to the app's app directory, and becomes it. | |
| git_url | No | A public https Git URL to build instead of the connected repository. | |
| program | No | For a Go module that builds more than one program: the directory of the program that serves the app, such as cmd/memos (only together with git_url). Defaults to the app's program, and becomes it. | |
| git_revision | No | Branch, tag or commit to build with git_url (only together with git_url). |