echo
Output provided text as JSON for use in agent pipelines. Use --raw to return plain text.
Instructions
Output provided text as JSON. Read-only, no side effects. Returns JSON with the echoed text by default; use --raw for plain text output. Use to display values or construct output strings in agent pipelines. Not for formatted output — use 'printf' for precise format control with conversion specifiers. See also 'printf'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| encoding | No | Output encoding. | utf-8 |
| escapes | No | Interpret common backslash escapes. | |
| no_newline | No | Do not append a newline. | |
| raw | No | Write echo text without a JSON envelope. | |
| words | No | Words to emit. |