What
An Artifact can hold a small database of documents that Claude can query. Two things change when Claude runs one of these queries with order_by, which sorts the results by a chosen field:
- The result now includes
ordered_by: {field, limit}. This repeats the field the results were sorted by and the limit that was actually applied, including a limit Claude did not set itself. - Ordered queries return a single page. When that page is full, the tool output warns that more results may exist beyond the ones shown. It tells Claude to raise
query.limit, or to dropquery.order_byand page through the results withquery.cursor.
Why
Before, an ordered query gave no sign that it had stopped at a limit, so Claude could treat a partial list as the complete set. Claude now sees the limit that was used and is told how to fetch the rest.