Add numbers
addComputes the sum of two finite numbers and returns both text and structured output for straightforward numerical calculations.
Instructions
Add two finite numbers and return both text and structured output.
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": "add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a | Yes | First number | |
| b | Yes | Second number |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |