Skip to content

feat(agent-toolkit): add object schema management tools (v5.6.0)#324

Merged
felixfa-1 merged 11 commits intomasterfrom
felix/add-dsms-entity-tools
Apr 30, 2026
Merged

feat(agent-toolkit): add object schema management tools (v5.6.0)#324
felixfa-1 merged 11 commits intomasterfrom
felix/add-dsms-entity-tools

Conversation

@felixfa-1
Copy link
Copy Markdown
Collaborator

@felixfa-1 felixfa-1 commented Apr 30, 2026

Summary

Adds 8 new MCP tools exposing the data-structure object schema GraphQL API to Sidekick.

Tools added

Tool Type Description
`get_object_schemas` READ Retrieve schemas by ID or name
`create_object_schema` WRITE Create a new account-level schema
`update_object_schema` WRITE Update schema (with optimistic locking)
`delete_object_schema` WRITE, destructive Delete a schema (no connected boards)
`delete_object_schema_columns` WRITE, destructive Permanently delete columns (dev-only)
`manage_object_schema_board_connection` WRITE Connect or detach boards from a schema
`manage_object_schema_columns` WRITE Create or update schema columns
`set_object_schema_column_active_state` WRITE Deactivate or reactivate a column

Design decisions

  • 8 tools instead of 13 — similar operations merged under an `action` param to reduce LLM context overhead

Test plan

  • Merge and publish this PR first
  • Update gateway dependency version and run `yarn install`
  • Verify all 8 tools appear in `tools/list` response from gateway
  • Test end-to-end via Sidekick

🤖 Generated with Claude Code

felixfa-1 and others added 11 commits April 30, 2026 13:12
…ment

Exposes the create_account_entity GraphQL mutation (dev API) as an MCP tool,
allowing Sidekick to create account-level entity models.

Co-Authored-By: Claude Opus 4.1 <noreply@anthropic.com>
Adds 12 new account-level schema management tools exposing the full
data-structure GraphQL API through the MCP agent toolkit:

- create_schema: create a new account-level schema
- get_schemas: retrieve schemas by ID or name
- update_schema: update schema description/parent (with optimistic locking)
- delete_schema: delete a schema (requires no connected boards)
- connect_board_to_schema: connect a board to a schema
- detach_boards_from_schema: detach boards from their schemas
- create_schema_columns: add columns to a schema
- update_schema_columns: update columns on a schema
- deactivate_schema_column: soft-disable a column
- reactivate_schema_column: re-enable a deactivated column
- opt_out_schema_column: stop auto-adding column to boards
- opt_in_schema_column: auto-add column to boards
- delete_entity_columns: hard-delete columns (dev-only, destructive)

Replaces the stale create_account_entity tool (renamed upstream).
Fetched fresh dev schema and ran codegen; all tools use generated types.
60 tests added (5 per tool).

Co-Authored-By: Claude Opus 4.1 <noreply@anthropic.com>
- Rename getSchemasQueryDev constant (was incorrectly named MutationDev)
- Rename delete_entity_columns tool params from entityId/entityName to schemaId/schemaName for consistency
- Omit policy field when not provided instead of sending empty defaults

Co-Authored-By: Claude Opus 4.1 <noreply@anthropic.com>
@felixfa-1 felixfa-1 force-pushed the felix/add-dsms-entity-tools branch from eadd908 to 47a4bee Compare April 30, 2026 10:13
@felixfa-1 felixfa-1 merged commit 74c0f4e into master Apr 30, 2026
2 checks passed
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.

3 participants