Deploy JS Application
hosting_deploy_js_appDeploy a JavaScript application from an archive. Provide source files only; the server builds automatically, and you can monitor deployment status.
Instructions
Deploy a JavaScript application from an archive. The archive must contain source files only (no node_modules, no build output). Build runs automatically on server. Use hosting_deploy_list_js to check status.
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": {
"username": "<username>",
"domain": "<domain>",
"archive_path": "<archive_path>"
},
"name": "hosting_deploy_js_app"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | Website domain | |
| username | Yes | Hosting account username | |
| output_dir | No | Output directory override (auto-detected if omitted) | |
| archive_path | Yes | Relative path to the archive file on the server (already uploaded via file manager) | |
| node_version | No | Node.js version to use | |
| build_command | No | Build command override (auto-detected from package.json if omitted) |