sfc_get_rates
Quote SFC shipping rates by country, weight, and dimensions. Provide optional ship type codes to retrieve method-specific rates; otherwise get rates for all available methods.
Instructions
Quote rates. If shipTypeCodes is set, uses HTTPS getRatesByShip; otherwise SOAP/HTTPS getRates for all methods.
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": {
"country": "<country>",
"weightKg": "<weightKg>",
"lengthCm": "<lengthCm>",
"widthCm": "<widthCm>",
"heightCm": "<heightCm>"
},
"name": "sfc_get_rates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | No | ||
| state | No | State / province; defaults to country | |
| worth | No | Declared value for getRatesByShip | |
| country | Yes | ||
| widthCm | Yes | ||
| zipCode | No | ||
| heightCm | Yes | ||
| lengthCm | Yes | ||
| weightKg | Yes | ||
| priceType | No | 1=customer discount price, 2=list price | |
| divisionId | No | ||
| shipTypeCodes | No | Optional list of SFC shipping method codes |