| summary | Surface nextPageToken in search_studies format() so content[]-only agents can paginate |
|---|---|
| breaking | false |
clinicaltrials_search_studiespagination token surfacing —format()signaled(More results available — use nextPageToken to paginate)but never emitted the token value.structuredContent.nextPageTokenwas correct, but LLM agents that only consumecontent[]could not retrieve the cursor and were capped at page 1 for any query exceedingpageSizematches. Token now renders on a dedicatednextPageToken: <value>line, and the hint references the correct input parameter name (pageToken). Verified end-to-end against the live API via HTTP transport — round-tripped the emitted token to fetch page 2. Closes #33.