Does this not work? "Output styles" https://code.claude.com/docs/en/output-styles
No, it does not.
Yes, a custom output style would be a more idiomatic (and likely more effective) way to implement this.
No, it does not.