mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-02 09:22:15 +00:00
feat(mcp): list_collection_places pages a long list compactly (#2647)
A read tool that answers one list a page at a time (100 by default, up to 500) as compact one-line JSON rows, filtered by status, label or "no label", with the list's labels, the matching total and a cursor. The cursor is the last place's position (sort_order, created_at, id), so labelling a page while paging through unlabelled places skips none. getCollection orders by the same keys, id last, so both tools agree on ties.
This commit is contained in:
@@ -37,6 +37,7 @@ export const COLLECTION_LOOK = {
|
||||
steps: {
|
||||
get_collection: { stepKey: 'assistant.step.readingList' },
|
||||
get_collection_items: { stepKey: 'assistant.step.readingList' },
|
||||
list_collection_places: { stepKey: 'assistant.step.readingList' },
|
||||
list_collections: { stepKey: 'assistant.step.lookingAtLists' },
|
||||
available_collection_users: { stepKey: 'assistant.step.lookingAtLists' },
|
||||
find_place_in_collections: { stepKey: 'assistant.step.checkingLists' },
|
||||
|
||||
Reference in New Issue
Block a user