Output

What a program prints or returns after it runs: a text, a result, an error message.

You’ll also find it as: outputs

How it appears in the course

Yes. With 2, the error message written on stderr (the “error output”) reaches Claude as an explanation.

What does a hook receive, and what does it answer? · Module 07, Hooks: automatic actions

--output-format json asks for the answer as a “form”.

What is JSON, and why would you want it? · Module 10, Claude on autopilot

You can change what you see on the screen (the status line) and the way Claude talks to you (output styles).

Introduction · Module 11, Pro tips

Learn Claude Code from zero, in plain English

12 modules with 1–2 minute lessons, which you can also do on your phone. The first two modules are free.