Contents

Cancel Timer

timer_cancel · Tools · Agents

Drop a pending timer so it does not go off

Parameters

NameTypeRequiredDescription
idstringYesTimer id from timer_list or timer_set.

Timer Cancel Tool#

Cancels a pending timer so it does not go off.

When to Use#

The agent uses this when a pending timer is no longer needed, such as when the thing it was to check has already been settled.

Parameters#

Field Type Required Description
id string yes Timer id from timer_list or timer_set

Returns#

Field Type Description
timer_id string The cancelled timer
cancelled boolean Always true

Notes#

  • A timer that already went off is gone and cannot be cancelled.
  • An unknown id is refused: Timer not found: <id>