round
Round a number to the nearest integer using a simple API tool for precise numerical calculations. Ideal for quick and accurate integer conversion.
Instructions
Rounds a number to the nearest integer
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 |