neotoma_turn_summary
Computes the per-turn Neotoma status line showing message count, stored, and retrieved entities. Optionally returns a widget URI for external app clients. Call after every assistant turn.
Instructions
FU-2026-05-002. Compute the per-turn Neotoma status line (msg N/M, stored K, retrieved L) plus an optional ui:// widget URI for ext-apps clients. Call at the end of every turn after the closing assistant store completes. Pass the assistant message's conversation_id and turn_key; the server resolves stored/retrieved/issue entities, turn ordinal, and total message count. Agents emit the returned status_line in the user-visible reply; ext-apps clients additionally render widget_uri inline when present.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| conversation_id | Yes | Stable conversation identifier (the `conversation_id` field on the `conversation` entity, host-provided or agent-derived per the turn identity rules). Used to disambiguate when the same `turn_key` string could in principle belong to multiple conversations. | |
| turn_key | Yes | `turn_key` of the assistant `conversation_message` whose turn just completed. Format `{conversation_id}:{turn_id}:assistant` per the closing-store recipe. The server resolves the entity via `canonical_name_fields: ["turn_key"]`. | |
| user_id | No |