fix(read-docs): add item_column type to read docs attached to board items#344
Open
Noa-Reuven wants to merge 3 commits into
Open
fix(read-docs): add item_column type to read docs attached to board items#344Noa-Reuven wants to merge 3 commits into
Noa-Reuven wants to merge 3 commits into
Conversation
…ry and schema Co-Authored-By: Claude Sonnet 4 <noreply@anthropic.com>
…columns Adds item_id + column_id fields to the tool schema and a new 'item_column' query type. When used, the tool passes item_id and column_id directly to the docs() query, bypassing the high_level_objects scope that silently excludes all column-attached docs. No ids-fallback retry is triggered for item_column — if the column doc is not found, that is the final answer. Co-Authored-By: Claude Sonnet 4 <noreply@anthropic.com>
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
The
read_docsMCP tool returns "No documents found" for docs attached to board items via a doc column. This is because the platformdocs()query uses ahigh_level_objectsscope that silently excludes all column-attached docs.This PR adds a new
"item_column"query type toread_docsthat passesitem_id+column_iddirectly to the API, bypassing the scope.item_idandcolumn_idfields to the tool schema"item_column"as a validtypeoption (alongside"ids","object_ids","workspace_ids")schema.graphqlandreadDocsquery with the new argumentsitem_column— if not found, that is the final answerUsage:
{ "type": "item_column", "item_id": "8386012534", "column_id": "monday_doc_mkmt9fgg" }Test plan
item_id, error on missingcolumn_id, no fallback retryDepends on: DaPulse/dapulse#109627 must be deployed first.
🤖 Generated with Claude Code