round
Takes any numeric value and returns the nearest integer, accepting unformatted number strings and leaving integers unchanged.
Instructions
Rounds a number to the nearest integer. If an integer is passed in, it will be returned unchanged. Supports numbers passed in as strings, but does NOT support commas or other formatting in number strings.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "round"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||