complex
Create a complex number by specifying its real and imaginary parts for mathematical computations.
Instructions
Create a complex number.
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": {
"real": "<real>",
"imag": "<imag>"
},
"name": "complex"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| imag | Yes | Imaginary part. | |
| real | Yes | Real part. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |