mirror of
https://github.com/modelcontextprotocol/servers.git
synced 2026-04-20 21:05:17 +02:00
Update elicitation demo
This commit is contained in:
@@ -690,10 +690,10 @@ export const createServer = () => {
|
|||||||
properties: {
|
properties: {
|
||||||
color: { type: 'string', description: 'Favorite color' },
|
color: { type: 'string', description: 'Favorite color' },
|
||||||
number: { type: 'integer', description: 'Favorite number', minimum: 1, maximum: 100 },
|
number: { type: 'integer', description: 'Favorite number', minimum: 1, maximum: 100 },
|
||||||
things: {
|
pets: {
|
||||||
type: 'string',
|
type: 'string',
|
||||||
enum: ['cats', 'dogs', 'birds', 'brown paper packages tied up with string'],
|
enum: ['cats', 'dogs', 'birds', 'fish', 'reptiles'],
|
||||||
description: 'Favorite things'
|
description: 'Favorite pets'
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user