API Reference
formatTodoList
function formatTodoList(items): string;Defined in: tools/builtin/todo-list.ts:250
Render a to-do list into the text block handed to the model: a header, a per-status count line, then one line per item (with a retry note when > 0).
Parameters
| Parameter | Type | Description |
|---|---|---|
items | TodoItem[] | The items to render, in list order. |
Returns
string
A human/model-readable summary of the list.