fix(catalog-backend): add missing description to unregister-entity MCP action parameter (#34196)

Signed-off-by: benjdlambert <ben@blam.sh>
This commit is contained in:
Ben Lambert
2026-05-12 13:34:27 +02:00
committed by GitHub
parent d09c21cb84
commit cde3643387
2 changed files with 13 additions and 8 deletions
@@ -0,0 +1,5 @@
---
'@backstage/plugin-catalog-backend': patch
---
Added missing description to the `type` parameter on the `unregister-entity` MCP action.
@@ -40,9 +40,9 @@ Once completed, all entities associated with the Location will be deleted from t
`,
schema: {
input: z =>
z
.object({
type: z.union([
z.object({
type: z
.union([
z.object({
locationId: z
.string()
@@ -55,11 +55,11 @@ Once completed, all entities associated with the Location will be deleted from t
`URL of the catalog-info.yaml file to unregister for example: https://github.com/backstage/demo/blob/master/catalog-info.yaml`,
),
}),
]),
})
.describe(
'The type to the unregister-entity action. Either locationId or locationUrl must be provided.',
),
])
.describe(
'Identifies the entity to unregister. Provide either locationId or locationUrl.',
),
}),
output: z => z.object({}),
},
action: async ({ input: { type }, credentials }) => {