log_volume
Cubic volume of a log by classical formula: Huber (mid diameter only), Smalian (both end diameters) or Newton (all three, most accurate). Metric (cm, m) or imperial (in, ft); returns volume in m3 and ft3.
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": {
"length": "<length>"
},
"name": "log_volume"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit | No | metric: diameters in cm, length in m; imperial: in and ft | metric |
| length | Yes | ||
| method | No | huber | |
| diameter_mid | No | Mid-length diameter (huber/newton) | |
| diameter_large | No | Large-end diameter (smalian/newton) | |
| diameter_small | No | Small-end diameter (smalian/newton) |