describe_error_logs
Retrieve error logs from an Alibaba Cloud RDS instance to diagnose database issues by specifying a time range.
Instructions
Query error logs of an RDS instance.
Args:
region_id: The region ID of the RDS instance.
db_instance_id: The ID of the RDS instance.
start_time: The start time of the query. Format: yyyy-MM-dd HH:mm.
end_time: The end time of the query. Format: yyyy-MM-dd HH:mm.
page_size: The number of records per page. Range: 30~100. Default: 30.
page_number: The page number. Default: 1.
Returns:
Dict[str, Any]: A dictionary containing error log information
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": {
"region_id": "<region_id>",
"db_instance_id": "<db_instance_id>",
"start_time": "<start_time>",
"end_time": "<end_time>"
},
"name": "describe_error_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_time | Yes | ||
| page_size | No | ||
| region_id | Yes | ||
| start_time | Yes | ||
| page_number | No | ||
| db_instance_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |