Skip to content

Commit 7392629

Browse files
committed
rename capability
1 parent 0447af5 commit 7392629

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/generated/schema.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@
9090
"properties": {},
9191
"additionalProperties": false
9292
},
93-
"context": {
93+
"updateContext": {
9494
"description": "Host accepts context updates to be stored in the agent's conversation context.",
9595
"type": "object",
9696
"properties": {},
@@ -858,7 +858,7 @@
858858
"properties": {},
859859
"additionalProperties": false
860860
},
861-
"context": {
861+
"updateContext": {
862862
"description": "Host accepts context updates to be stored in the agent's conversation context.",
863863
"type": "object",
864864
"properties": {},

src/generated/schema.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ export const McpUiHostCapabilitiesSchema = z.object({
232232
/** @description Host accepts log messages. */
233233
logging: z.object({}).optional().describe("Host accepts log messages."),
234234
/** @description Host accepts context updates to be stored in the agent's conversation context. */
235-
context: z
235+
updateContext: z
236236
.object({})
237237
.optional()
238238
.describe(

src/spec.types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ export interface McpUiHostCapabilities {
308308
/** @description Host accepts log messages. */
309309
logging?: {};
310310
/** @description Host accepts context updates to be stored in the agent's conversation context. */
311-
context?: {};
311+
updateContext?: {};
312312
}
313313

314314
/**

0 commit comments

Comments
 (0)