Time management and task scheduling
time_now - Get current timestamp in multiple formatstime_sleep - Delay execution with configurable durationtime_schedule - In-memory task scheduler with create/cancel/list/status operationsThe time_now tool supports multiple timestamp formats:
{
"name": "time_now",
"arguments": {
"format": "ISO8601"
}
}
{
"name": "time_schedule",
"arguments": {
"action": "create",
"task_name": "backup",
"delay_seconds": 3600,
"command": "bash backup.sh"
}
}
This creates an in-memory scheduled task that will execute after the specified delay.
{
"name": "time_sleep",
"arguments": {
"duration_seconds": 5
}
}
{
"name": "time_now",
"arguments": {
"format": "custom",
"custom_format": "%Y-%m-%d %H:%M:%S"
}
}
{
"name": "time_schedule",
"arguments": {
"action": "cancel",
"task_name": "backup"
}
}