cos
Calculate the cosine of an angle given in radians, with an optional precision parameter for custom accuracy.
Instructions
Compute cosine.
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": {
"x": "<x>"
},
"name": "cos"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | Number (in radians). | |
| precision | No | Optional precision. |