redirects-create
Creates a redirect rule for a Dokploy application using a regex pattern, replacement URL, and permanent flag.
Instructions
POST /redirects.create
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": {
"regex": "<regex>",
"replacement": "<replacement>",
"permanent": "<permanent>",
"applicationId": "<applicationId>"
},
"name": "redirects-create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| regex | Yes | ||
| permanent | Yes | ||
| replacement | Yes | ||
| applicationId | Yes |