canvas_batch
Runs a batch of ASCII drawing commands (boxes, lines, arrows, text) in sequence and returns the final canvas as ASCII art.
Instructions
批量执行绘图指令并返回最终 ASCII 结果。ops 是指令数组,每条指令包含 op 字段指定操作类型(canvas_new / draw_box / draw_line / draw_arrow / add_text),以及对应参数。执行完所有指令后自动导出画布。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ops | Yes | 绘图指令数组,按顺序执行 |