Logarithm Calculator
calculator_logarithmUse this for log10, natural ln, or custom-base logarithm. Examples: log10(100)=2, ln(e)=1.
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": {
"log_type": "<log_type>",
"value": "<value>"
},
"name": "calculator_logarithm"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | No | Custom base when log_type=logb (must be >0 and !=1). | |
| value | Yes | Positive number to take the logarithm of. | |
| log_type | Yes | log (base 10), ln (natural), or logb (custom base). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | No | ||
| value | Yes | ||
| result | Yes | ||
| log_type | Yes | ||
| expression | Yes |