significant_figures
Round any number to a specified number of significant figures. Adjust precision with an optional parameter for custom significant digit count.
Instructions
Round a number to a specified number of significant figures.
Parameters:
value — Number to round.
sig_figs — Number of significant figures (default: 3).
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": {
"value": "<value>"
},
"name": "significant_figures"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | ||
| sig_figs | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |