check_compatibility
Verifies whether two units measure the same physical quantity, enabling valid conversions between them.
Instructions
Check if two units are dimensionally compatible (i.e., can be converted).
Returns whether the units share the same physical dimension.
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": {
"unit_a": "<unit_a>",
"unit_b": "<unit_b>"
},
"name": "check_compatibility"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit_a | Yes | ||
| unit_b | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit_a | Yes | ||
| unit_b | Yes | ||
| compatible | Yes | ||
| explanation | Yes | ||
| dimensionality_a | Yes | ||
| dimensionality_b | Yes |