Skip to content
BENIBIX Learn

Monitor Tool

AI⌨️ Claude CodeBuilt-in Tools

Also known as Monitor, Background watch, Tail a log

The tool that watches a command and tells Claude each new line.

Think of it like

It is like asking a friend to watch the pot and shout when it boils.

Example

Jack asks Claude to watch the server log while he clicks around. When an error line appears, Claude points it out and suggests a fix.

Why it matters

Claude can react to things as they happen, instead of checking again and again.

Definition

The Monitor tool runs a command in the background and sends each new line of output to Claude as it appears. Claude can watch a log file, a CI job or a folder, and act when something changes. It can also listen to a WebSocket feed. You keep working in the same session while it watches. Each watch ends after five minutes by default, and at most thirty. It uses the same permission rules as Bash.
Monitor sends each new line to Claude as it comes.

Common mistake

Expecting a watch to run forever. It ends at its deadline, and Claude must start it again if it is still needed.

Key takeaways

  1. 1
    Runs in the background. You keep working.
  2. 2
    Line by line. Each new line arrives.
  3. 3
    Has a deadline. Five minutes by default.

Learn it properly