diff options
Diffstat (limited to 'makima/src/llm/contract_tools.rs')
| -rw-r--r-- | makima/src/llm/contract_tools.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/makima/src/llm/contract_tools.rs b/makima/src/llm/contract_tools.rs index 07de1fe..855a2fe 100644 --- a/makima/src/llm/contract_tools.rs +++ b/makima/src/llm/contract_tools.rs @@ -376,7 +376,7 @@ pub static CONTRACT_TOOLS: once_cell::sync::Lazy<Vec<Tool>> = once_cell::sync::L // ============================================================================= 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": { @@ -392,7 +392,7 @@ pub static CONTRACT_TOOLS: once_cell::sync::Lazy<Vec<Tool>> = once_cell::sync::L }, "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", @@ -401,11 +401,11 @@ pub static CONTRACT_TOOLS: once_cell::sync::Lazy<Vec<Tool>> = once_cell::sync::L }, "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"] |
