You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: add include_child_parts subfield to applies_to_part in list_works
- Updated list_works tool schema to accept applies_to_part as an object
- Added include_child_parts boolean subfield to enable hierarchical part filtering
- Updated handler logic to process the new structure and pass to DevRev API
- Maintains backward compatibility when include_child_parts is false/not provided
"description": "The cursor to use for pagination. If not provided, iteration begins from the first page. In the output you get next_cursor, use it and the correct mode to get the next or previous page. You can use these to loop through all the pages."
123
123
},
124
-
"applies_to_part": {"type": "array", "items": {"type": "string"}, "description": "The part IDs of the works to list"},
124
+
"applies_to_part": {
125
+
"type": "object",
126
+
"properties": {
127
+
"part_ids": {"type": "array", "items": {"type": "string"}, "description": "The part IDs of the works to list"},
128
+
"include_child_parts": {"type": "boolean", "description": "Whether to include child parts in the search"}
129
+
},
130
+
"required": ["part_ids"],
131
+
"description": "Filter for works by part IDs with option to include child parts"
132
+
},
125
133
"created_by": {"type": "array", "items": {"type": "string"}, "description": "The user IDs of the creators of the works to list"},
126
134
"owned_by": {"type": "array", "items": {"type": "string"}, "description": "The user IDs of the owners of the works to list"},
127
135
"state": {"type": "array", "items": {"type": "string", "enum": ["open", "closed", "in_progress"]}, "description": "The state names of the works to list"},
0 commit comments