round
Rounds a number to the nearest integer. Use it to convert decimals to whole numbers in calculations, or rely on batch_calc for chained operations in a single call.
Instructions
Rounds a number to the nearest integer. For several operations or chained steps in one call, use batch_calc.
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": {
"number": "<number>"
},
"name": "round"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| number | Yes | The number to round |