format_format_duration
Format seconds into a human-readable duration string like '1h 1m 1s', with verbose option for full-word output.
Instructions
[format] Format seconds as a human string: 3661 → '1h 1m 1s'. verbose=true for full words.
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": {
"seconds": "<seconds>"
},
"name": "format_format_duration"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seconds | Yes | ||
| verbose | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |