Update Redirects
kinsta_environments_redirects_updateManage redirect rules for a Kinsta environment by creating, updating, or deleting them. Specify action type and environment ID to modify redirects.
Instructions
Create, update, or delete redirect rules for an environment.
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": {
"env_id": "<env_id>",
"action_type": "<action_type>"
},
"name": "kinsta_environments_redirects_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | Sort key | |
| limit | No | Number of results to return | |
| order | No | Sort order | |
| env_id | Yes | The environment ID | |
| offset | No | Offset for pagination | |
| new_value | No | New redirect rule to create | |
| action_type | Yes | Action to perform on redirect rules | |
| regex_search | No | Whether to use regex for search | |
| search_query | No | Search term to filter redirects | |
| rules_to_update | No | Rules to update or delete |