fix elicitation
This commit is contained in:
parent
79b2444701
commit
1547891443
1 changed files with 0 additions and 3 deletions
|
|
@ -80,8 +80,6 @@ const GetResourceReferenceSchema = z.object({
|
||||||
.describe("ID of the resource to reference (1-100)"),
|
.describe("ID of the resource to reference (1-100)"),
|
||||||
});
|
});
|
||||||
|
|
||||||
const ElicitInputsSchema = z.object({});
|
|
||||||
|
|
||||||
enum ToolName {
|
enum ToolName {
|
||||||
ECHO = "echo",
|
ECHO = "echo",
|
||||||
ADD = "add",
|
ADD = "add",
|
||||||
|
|
@ -635,7 +633,6 @@ export const createMcpServer = (): McpServerWrapper => {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (name === ToolName.ELICIT_INPUTS) {
|
if (name === ToolName.ELICIT_INPUTS) {
|
||||||
// Call elicitInput on the server to request user input
|
|
||||||
const result = await extra.sendRequest({
|
const result = await extra.sendRequest({
|
||||||
method: 'elicitation/create',
|
method: 'elicitation/create',
|
||||||
params: {
|
params: {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue