weber
Compute the Weber modular function for a complex parameter, supporting three variants and adjustable precision.
Instructions
Compute the Weber function.
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": {
"z": "<z>"
},
"name": "weber"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| z | Yes | Complex parameter. | |
| flag | No | Which variant (0, 1, or 2). | |
| precision | No | Optional precision. |