Connection
Base URL, credentials and a reachable server.
Add cursor pagination to a list endpoint. Preserve ordering and check both an invalid cursor and an empty page.
Base URL, credentials and a reachable server.
A model available through the configured endpoint.
Context limits and tool support are determined by the model and server.
const cursor = decodeCursor(request);
const page = await repository.list(cursor);
return { items: page.items, next: page.next };