Unclear It is not stated which tool gained the cursor.
What
ListAgents is the tool Claude uses to see which agents it can message: subagents it started, teammates, other local Claude sessions and so on. It used to return everything as one listing. When that listing is larger than a size limit, it now comes back in pages.
- A tool schema gains a cursor field. A cursor is a marker that says where the next page starts. The field takes the cursor the last line of a long listing gave; leaving it out lists from the start.
- Each call issues its own cursor, and the listing prints hints of the form
call again with ... cursor=so Claude knows how to get the next page. - A cursor this session did not issue, or one that has expired, returns a
cursor_not_validnote saying no agents were looked up and to call again with no cursor to list from the start. - The final page says
nothing more to list.
The stock ListAgents description captured under this release is 927 characters, and its wording moved since the previous release.
Why
In practice, a long list of agents or sessions no longer has to fit into a single tool result. Claude now reads it a page at a time, so with many agents it may take several calls to see them all.
It is not stated which tool gained the cursor.