Divide
Divides a dividend by a divisor and returns the quotient, including handling for zero divisors in basic arithmetic calculations.
Instructions
Divides the dividend by divisor and returns the quotient
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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | Yes | Dividend | |
| b | Yes | Divisor |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | Yes | Dividend | |
| b | Yes | Divisor | |
| result | Yes | Quotient of the two numbers | |
| operation | Yes | Operation performed |