@@ -771,17 +771,6 @@ Do not include any explanations, markdown formatting, or other text outside the
771771 } ,
772772 mode : 'advanced' ,
773773 } ,
774- {
775- id : 'channelMaxPages' ,
776- title : 'Max Pages' ,
777- type : 'short-input' ,
778- placeholder : '200' ,
779- condition : {
780- field : 'operation' ,
781- value : 'list_channels' ,
782- } ,
783- mode : 'advanced' ,
784- } ,
785774 // List Members specific fields
786775 {
787776 id : 'memberLimit' ,
@@ -823,7 +812,7 @@ Do not include any explanations, markdown formatting, or other text outside the
823812 id : 'paginationCursor' ,
824813 title : 'Pagination Cursor' ,
825814 type : 'short-input' ,
826- placeholder : 'next_cursor from a previous response' ,
815+ placeholder : 'nextCursor from a previous response' ,
827816 condition : {
828817 field : 'operation' ,
829818 value : [ 'list_channels' , 'list_members' , 'list_users' ] ,
@@ -1923,7 +1912,6 @@ Return ONLY the integer Unix timestamp - no explanations, no quotes, no extra te
19231912 emojiName,
19241913 includePrivate,
19251914 channelLimit,
1926- channelMaxPages,
19271915 memberLimit,
19281916 includeDeleted,
19291917 userLimit,
@@ -2149,17 +2137,6 @@ Return ONLY the integer Unix timestamp - no explanations, no quotes, no extra te
21492137 throw new Error ( 'Conversations per page must be an integer between 1 and 200' )
21502138 }
21512139 baseParams . limit = parsedLimit
2152- const hasChannelMaxPages =
2153- channelMaxPages !== undefined &&
2154- channelMaxPages !== null &&
2155- ( typeof channelMaxPages !== 'string' || Boolean ( channelMaxPages . trim ( ) ) )
2156- if ( hasChannelMaxPages ) {
2157- const parsedMaxPages = Number ( channelMaxPages )
2158- if ( ! Number . isInteger ( parsedMaxPages ) || parsedMaxPages < 1 || parsedMaxPages > 200 ) {
2159- throw new Error ( 'Max pages must be an integer between 1 and 200' )
2160- }
2161- baseParams . maxPages = parsedMaxPages
2162- }
21632140 if ( paginationCursor ) {
21642141 baseParams . cursor = String ( paginationCursor ) . trim ( )
21652142 }
@@ -2426,7 +2403,6 @@ Return ONLY the integer Unix timestamp - no explanations, no quotes, no extra te
24262403 // List Channels inputs
24272404 includePrivate : { type : 'string' , description : 'Include private channels (true/false)' } ,
24282405 channelLimit : { type : 'string' , description : 'Conversations to request per Slack page' } ,
2429- channelMaxPages : { type : 'string' , description : 'Maximum Slack pages to fetch (max 200)' } ,
24302406 // List Members inputs
24312407 memberLimit : { type : 'string' , description : 'Maximum number of members to return' } ,
24322408 // List Users inputs
@@ -2435,7 +2411,7 @@ Return ONLY the integer Unix timestamp - no explanations, no quotes, no extra te
24352411 // Shared pagination input
24362412 paginationCursor : {
24372413 type : 'string' ,
2438- description : 'Pagination cursor (next_cursor ) for list_channels/list_members/list_users' ,
2414+ description : 'Pagination cursor (nextCursor ) for list_channels/list_members/list_users' ,
24392415 } ,
24402416 // Ephemeral message inputs
24412417 ephemeralUser : { type : 'string' , description : 'User ID who will see the ephemeral message' } ,
@@ -2657,7 +2633,7 @@ Return ONLY the integer Unix timestamp - no explanations, no quotes, no extra te
26572633 channels : {
26582634 type : 'json' ,
26592635 description :
2660- 'Array of up to 10,000 accessible public and private channel objects, including conversation type and membership fields.' ,
2636+ 'One page of accessible public and private channel objects, including conversation type and membership fields.' ,
26612637 } ,
26622638 count : {
26632639 type : 'number' ,
0 commit comments