Render integration capability descriptions in the execute inventory - #2131
Open
justcarlson wants to merge 5 commits into
Open
justcarlson wants to merge 5 commits into
justcarlson wants to merge 5 commits into
Conversation
The execute tool description and skill listed connected integrations as bare slugs, so an agent seeing a fresh session could not tell what each integration is for without spending sandbox calls on discovery. Each inventory line now carries the integration's catalog description, truncated to one scannable line (120 chars, word edge, first line only). Legacy rows whose description merely repeats the slug or display name stay bare. Descriptions remain user-editable data (PATCH /api/integrations/:slug), so deployments tune the wording without a rebuild. parseIntegrationInventory tolerates the optional suffix, so hosts deriving search_<integration> tools from the description see the same slugs.
Deliver tool attachments automatically through MCP
This branch has not been deployed
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.
Problem
The
executetool description and theexecuteskill list connected integrations as bare slugs (packages/core/execution/src/description.tssaid "no descriptions" by design). An agent opening a fresh session cannot tell what each integration is for. On a deployment with 40+ integrations, models burn sandbox calls on discovery, or guess native paths that do not exist. Reported from production self-host use in justcarlson/Silent-Cartographer#184 and related to the catalog-ergonomics requests in #2130.Change
Each inventory line now renders the integration's catalog
description:PATCH /api/integrations/:slug; deployments tune wording without a rebuild.parseIntegrationInventorytolerates the optional— descriptionsuffix, so hosts derivingsearch_<integration>tools from the built description parse the same slugs.One extra
executor.integrations.list()per session build, beside the existingconnections.list().Tests
parseIntegrationInventoryreads slugs past description suffixes.packages/core/execution: 80/80 pass.packages/hosts/mcp: 251/251 pass.oxlintandtsgoclean.