convert_duration
Convert a duration between units and get it in plain language. Use it to express a timeout in the unit the caller asked for, or to check whether a limit is seconds, minutes or milliseconds. ($0.003 per call)
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>"
},
"name": "convert_duration"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | the unit to convert into | seconds |
| from | No | the unit of value | seconds |
| value | Yes | the magnitude |