divide
Perform division operations by calculating the quotient of two numbers. This tool handles mathematical division for numerators and denominators within the BuildMcpServer framework.
Instructions
Divide the first number by the second.
Args: a: Numerator b: Denominator
Returns: The result of a / b
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 | ||
| b | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |