Litres to pints converter
hopi_litres_to_pintsConvert between litres and pints. Direction 'litres-to-pints' takes litres and returns UK pints, US pints and millilitres. Direction 'pints-to-litres' takes UK pints and returns litres. Source: https://hopi.co.uk/litres-to-pints/
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>",
"direction": "<direction>"
},
"name": "hopi_litres_to_pints"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | The value to convert (litres or UK pints depending on direction) | |
| direction | Yes | Which way to convert |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| litres | Yes | ||
| summary | Yes | ||
| ukPints | Yes | ||
| usPints | No | ||
| direction | Yes | ||
| source_url | Yes | The tool's page on hopi.co.uk (cite or open to check the figure) | |
| millilitres | No |