modify_parameter
Modify RDS instance parameters to optimize database performance or apply configuration changes. Supports immediate, scheduled, or maintenance window execution.
Instructions
Modify RDS instance parameters.
Args:
region_id: The region ID of the RDS instance.
dbinstance_id: The ID of the RDS instance.
parameters (Dict[str, str], optional): Parameters and their values in JSON format.
Example: {"delayed_insert_timeout": "600", "max_length_for_sort_data": "2048"}
parameter_group_id: Parameter template ID.
forcerestart: Whether to force restart the database. Default: False.
switch_time_mode: Execution time mode. Values: Immediate, MaintainTime, ScheduleTime. Default: Immediate.
switch_time: Scheduled execution time in format: yyyy-MM-ddTHH:mm:ssZ (UTC time).
client_token: Client token for idempotency, max 64 ASCII characters.
Returns:
Dict[str, Any]: The response containing the request ID.
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>",
"dbinstance_id": "<dbinstance_id>"
},
"name": "modify_parameter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| region_id | Yes | ||
| parameters | No | ||
| switch_time | No | ||
| client_token | No | ||
| forcerestart | No | ||
| dbinstance_id | Yes | ||
| switch_time_mode | No | Immediate | |
| parameter_group_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |