Question · Vibe coding with Claude Code course · Module 13: Twitch clone

Quiz: the JSON answer from claude -p

You run claude -p with --output-format json. In which JSON field do you find the text of Claude's answer?

Answer options

  • total_cost_usd
  • permission_denials
  • result
  • num_turns

You can check the correct answer by solving this task in the CodeWorlds game.