add_map_remote
Redirect matching proxy requests to another server, such as staging or a local dev backend; append * to the target URL to preserve the original path suffix.
Instructions
Send matching requests to another server, e.g. prod → staging or a local dev server. A trailing * on to keeps the rest of the original path.
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": {
"url": "<url>",
"to": "<to>"
},
"name": "add_map_remote"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Target, e.g. https://staging.example.com/* or http://localhost:3000 | |
| ttl | No | 1h | |
| url | Yes | URL pattern, e.g. https://api.example.com/* | |
| name | No | ||
| preserve_host_header | No | Keep the original Host header |