feat(read-docs): add include_comments to fetch doc comments and replies#281
Merged
RoniLandau merged 2 commits intomasterfrom Mar 26, 2026
Merged
feat(read-docs): add include_comments to fetch doc comments and replies#281RoniLandau merged 2 commits intomasterfrom
RoniLandau merged 2 commits intomasterfrom
Conversation
Noa-Reuven
reviewed
Mar 26, 2026
packages/agent-toolkit/src/core/tools/platform-api-tools/search-tool/search-tool.ts
Outdated
Show resolved
Hide resolved
andrey-palman
approved these changes
Mar 26, 2026
Noa-Reuven
reviewed
Mar 26, 2026
| const smartSearchRes = await this.mondayApi.request<SearchItemsDevQuery>(searchItemsDev, smartSearchVariables, { | ||
| versionOverride: 'dev', | ||
| timeout: SEARCH_TIMEOUT | ||
| timeoutMs: SEARCH_TIMEOUT |
Collaborator
There was a problem hiding this comment.
why did you change it?
Collaborator
Author
There was a problem hiding this comment.
automatic change because of the wrong type
…d replies Doc comments are stored at the item level within the doc's backing board. This adds an `include_comments` parameter (default: false) that fetches all comments and replies via the board's items_page → updates → replies GraphQL path using the doc's object_id. Also adds `comments_limit` to control pagination. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
bd8992a to
de96c6e
Compare
Noa-Reuven
approved these changes
Mar 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
include_comments(boolean, default false) andcomments_limit(number, default 50) parameters to theread_docstoolitems_page → items → updates → repliesGraphQL path (using the doc'sobject_idas the board ID)id,text_body,body,created_at,creator,item_id,item_name, and nestedrepliestimeout→timeoutMstypos insearch-toolandget-board-items-page-toolthat blocked buildsTest plan
comments_limitpassthrough, skipping empty items, error handling🤖 Generated with Claude Code