fix: address PR review feedback (round 9)
- Fix emoji clearing bug: use _UNSET sentinel in update_collective so
emoji=None sends {"emoji": null} instead of raising ValueError
- Move collectives_get_trashed_collectives to Read Tools section
- Remove redundant is_trash field from ListTrashedPagesResponse
- Add page lifecycle note to collectives_trash_page docstring
- Add unit test for clearing collective emoji via update_collective
- Add integration test for clearing collective emoji via MCP tool
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
cb16060b1b
commit
52470ea713
@@ -135,10 +135,6 @@ class SearchPagesResponse(BaseResponse):
|
||||
class ListTrashedPagesResponse(ListPagesResponse):
|
||||
"""Response for listing trashed pages in a collective."""
|
||||
|
||||
is_trash: bool = Field(
|
||||
default=True, description="Indicates these are trashed pages"
|
||||
)
|
||||
|
||||
|
||||
class ListTrashedCollectivesResponse(BaseResponse):
|
||||
"""Response for listing trashed collectives."""
|
||||
|
||||
Reference in New Issue
Block a user