convert_odds
Convert odds between American, decimal, and probability formats to ensure compatibility across sportsbooks and prediction markets.
Instructions
Convert odds between formats.
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": {
"value": "<value>"
},
"name": "convert_odds"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | The odds value to convert. | |
| from_format | No | Source format (american, decimal, probability). | american |
| to_format | No | Target format (american, decimal, probability). | probability |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |