time_converter
Convert time values between milliseconds, seconds, minutes, hours, days, weeks, months, and years. Provide the value, source unit, and target unit to get the result.
Instructions
Convert time: ms/sec/min/hr/day/week/month/yr. Input: value, from, to.
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>",
"from": "<from>",
"to": "<to>"
},
"name": "time_converter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | ||
| from | Yes | ||
| value | Yes |