Skip to content

Conversation

@Scra3
Copy link
Member

@Scra3 Scra3 commented Dec 19, 2025

Summary

  • Add create tool to create records in a collection
  • Add update tool to update existing records by ID
  • Add delete tool to delete one or more records by IDs

New Tools

create

Create a new record in a collection.

{
  "collectionName": "users",
  "attributes": { "name": "John", "email": "[email protected]" }
}

update

Update an existing record.

{
  "collectionName": "users",
  "recordId": 42,
  "attributes": { "name": "John Updated" }
}

delete

Delete one or more records.

{
  "collectionName": "users",
  "recordIds": [1, 2, 3]
}

Test plan

  • 43 new integration tests added
  • All 313 tests pass
  • Build passes

🤖 Generated with Claude Code

- Add `create` tool to create records in a collection
- Add `update` tool to update existing records
- Add `delete` tool to delete one or more records
- Add integration tests for all three tools (43 new tests)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@qltysh
Copy link

qltysh bot commented Dec 19, 2025

3 new issues

Tool Category Rule Count
qlty Structure Function with many parameters (count = 4): declareCreateTool 3

@qltysh
Copy link

qltysh bot commented Dec 19, 2025

Qlty

Coverage Impact

This PR will not change total coverage.

🚦 See full report on Qlty Cloud »

🛟 Help
  • Diff Coverage: Coverage for added or modified lines of code (excludes deleted files). Learn more.

  • Total Coverage: Coverage for the whole repository, calculated as the sum of all File Coverage. Learn more.

  • File Coverage: Covered Lines divided by Covered Lines plus Missed Lines. (Excludes non-executable lines including blank lines and comments.)

    • Indirect Changes: Changes to File Coverage for files that were not modified in this PR. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants