divide_numbers
Calculate the integer quotient of two numbers (a / b) for floor division. Returns the floor quotient and throws an error if divisor b is zero.
Instructions
Calculates the integer quotient of two numbers (a / b). Use this tool for integer floor division. Do not use for addition (use 'add_numbers' instead) or multiplication (use 'multiply_numbers' instead). Returns floor quotient; throws an error if divisor 'b' is zero.
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": {
"a": "<a>",
"b": "<b>"
},
"name": "divide_numbers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | Yes | The dividend integer to divide. | |
| b | Yes | The divisor integer to divide by. Must not be zero. |