Open Agent Loops
API Reference

formatTodoList

@open-agent-loops/core


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

ParameterTypeDescription
itemsTodoItem[]The items to render, in list order.

Returns

string

A human/model-readable summary of the list.

See

todoListTools

On this page