Tool calling
Mosaic keeps a clear loop: the model requests a tool, the CLI runs it, and the result returns to context before the final answer.
- Readable flow for `read_file`, `write_file`, `edit_file`, and `run_command`.
- The TUI keeps tool output and assistant text in one simple transcript.
- Headless mode reuses the same protocol for automation.
<tool_call>
<name>read_file</name>
<arguments>{"path":"src/app.ts"}</arguments>
</tool_call>