create_webapp_alias
Create a web application alias on a RunCloud server by binding an additional domain name to an existing web application, so the app responds to more than one domain.
Instructions
Create a web application alias
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>",
"webappId": "<webappId>",
"name": "<name>",
"domainName": "<domainName>",
"user": "<user>"
},
"name": "create_webapp_alias"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Alias name | |
| user | Yes | System user ID | |
| stack | No | Stack type | |
| serverId | Yes | The ID of the server | |
| timezone | No | Timezone (e.g., UTC) | |
| webappId | Yes | The ID of the web application | |
| stackMode | No | Stack mode | |
| domainName | Yes | Domain name for alias | |
| phpVersion | No | PHP version | |
| publicPath | No | Public path | |
| memoryLimit | No | Memory limit in MB | |
| openBasedir | No | Open basedir restriction | |
| postMaxSize | No | Max POST size in MB | |
| maxInputTime | No | Max input time in seconds | |
| maxInputVars | No | Max input variables | |
| allowUrlFopen | No | Allow URL fopen | |
| xssProtection | No | Enable XSS protection | |
| processManager | No | Process manager (dynamic, ondemand, static) | |
| disableFunctions | No | Comma-separated disabled functions | |
| maxExecutionTime | No | Max execution time in seconds | |
| uploadMaxFilesize | No | Max upload file size in MB | |
| sessionGcMaxlifetime | No | Session GC max lifetime in seconds | |
| clickjackingProtection | No | Enable clickjacking protection | |
| mimeSniffingProtection | No | Enable MIME sniffing protection | |
| processManagerMaxChildren | No | Max children processes | |
| processManagerMaxRequests | No | Max requests per process | |
| processManagerStartServers | No | Start servers (for dynamic) | |
| processManagerMaxSpareServers | No | Max spare servers (for dynamic) | |
| processManagerMinSpareServers | No | Min spare servers (for dynamic) |