Rename the app at Appgarten
rename_appGives the app a new name at Appgarten, the name the customer knows it by. Only while the app has no Appsjekk, trial or monitoring; otherwise the reply says the name was not changed. Changes nothing in the code.
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": {
"project": "<project>"
},
"name": "rename_app"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | No | The name of the app at Appgarten, when there is no git repository. | |
| app_id | No | The app's Appgarten ID (app_id) from the file .appgarten in the project. With it, Appgarten knows which app the call is about. Not a secret. | |
| project | Yes | The app's name as the customer knows it: the page title or the name in package.json. Not the folder or repository name. | |
| language | No | The language of the reply: nb (Norwegian) or en (English), the same as My account. Default en. For any other language, use en and translate it yourself. | |
| repository | No | The repository you are working in, as the SHA of its first commit (git rev-list --max-parents=0 HEAD | tail -n 1. If git rev-parse --is-shallow-repository says true, run git fetch --unshallow first; if it is still shallow, leave repository out). Not the address. Appgarten finds the app from it. The app is tied to this repository from the first version. |