get_webapp_logs
Fetches error, access, or PHP error logs for a specified RunCloud server and web application, letting you limit results to the needed lines for troubleshooting.
Instructions
Get web application logs
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>",
"type": "<type>"
},
"name": "get_webapp_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Log type (error, access, php_error) | |
| lines | No | Number of lines to retrieve | |
| serverId | Yes | The ID of the server | |
| webappId | Yes | The ID of the web application |