summaryrefslogtreecommitdiff
path: root/makima/src/llm/mesh_tools.rs
diff options
context:
space:
mode:
Diffstat (limited to 'makima/src/llm/mesh_tools.rs')
-rw-r--r--makima/src/llm/mesh_tools.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/makima/src/llm/mesh_tools.rs b/makima/src/llm/mesh_tools.rs
index ec9dd01..8bddf71 100644
--- a/makima/src/llm/mesh_tools.rs
+++ b/makima/src/llm/mesh_tools.rs
@@ -379,7 +379,7 @@ pub static MESH_TOOLS: once_cell::sync::Lazy<Vec<Tool>> = once_cell::sync::Lazy:
// =============================================================================
Tool {
name: "ask_user".to_string(),
- description: "Ask the user one or more questions. Use this when you need clarification, want to offer choices, or need user input before proceeding.".to_string(),
+ description: "Ask the user one or more questions. Use this when you need clarification, want to offer choices, or need user input before proceeding. Questions can be single-select (user picks one option) or multi-select (user can pick multiple options). The question text supports markdown formatting.".to_string(),
parameters: json!({
"type": "object",
"properties": {
@@ -395,7 +395,7 @@ pub static MESH_TOOLS: once_cell::sync::Lazy<Vec<Tool>> = once_cell::sync::Lazy:
},
"question": {
"type": "string",
- "description": "The question to ask the user"
+ "description": "The question to ask the user. Supports markdown formatting (bold, code, lists, etc.)"
},
"options": {
"type": "array",
@@ -404,11 +404,11 @@ pub static MESH_TOOLS: once_cell::sync::Lazy<Vec<Tool>> = once_cell::sync::Lazy:
},
"allowMultiple": {
"type": "boolean",
- "description": "If true, user can select multiple options"
+ "description": "If true, user can select multiple options (multi-select). If false or omitted, user selects exactly one option (single-select). Default: false"
},
"allowCustom": {
"type": "boolean",
- "description": "If true, user can provide a custom answer"
+ "description": "If true, user can provide a custom text answer instead of selecting from options. Default: true"
}
},
"required": ["id", "question", "options"]