output. The agent gets two tools for that turn, done (its parameters are the report; Claude Code checks them against the schema, and a report that does not match is sent back) and error (it cannot finish, and why), and a line added to the message asks it to end the turn with one of them (askForReport: false sends the message as it is, for prompts that say how the turn ends themselves). The result’s output is typed by the schema.