u
This commit is contained in:
@@ -14,8 +14,7 @@ export function createAskUserTool() {
|
||||
return defineTool({
|
||||
name: 'ask_user',
|
||||
description:
|
||||
'Ask the user when you need clarification or a decision (e.g. which SKU or ID they meant, or what parameter to use). ' +
|
||||
'Give a concise question + up to 3 short options (A,B,C); the user may select an option or provide free-form text.',
|
||||
'Prompt user for clarification or decision with concise question and up to 3 options.',
|
||||
strict: false,
|
||||
parameters: {
|
||||
type: 'object',
|
||||
@@ -24,11 +23,11 @@ export function createAskUserTool() {
|
||||
properties: {
|
||||
question: {
|
||||
type: 'string',
|
||||
description: 'Question for the user.',
|
||||
description: 'Question prompt.',
|
||||
},
|
||||
options: {
|
||||
type: 'array',
|
||||
description: 'Up to 3 short option labels.',
|
||||
description: 'Up to 3 option labels.',
|
||||
items: { type: 'string' },
|
||||
maxItems: 3,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user