route_request
Classifies an HTTP request by URL and method to choose direct, datacenter, or residential proxy routing, reducing paid bandwidth costs for heavy assets and fonts.
Instructions
Determines whether an HTTP request should use residential, datacenter, or direct connection to optimize cost.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The destination URL | |
| method | No | HTTP method (GET, POST, etc.) | GET |
| force_residential | No | Whether to force residential IP tier |