@kolbo/mcp 1.86.3 → 1.87.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -0
- package/package.json +1 -1
- package/src/apps/widgets/upload.js +456 -457
- package/src/tools/chat.js +3 -1
- package/src/tools/media.js +656 -656
- package/src/tools/models.js +3 -0
package/src/tools/chat.js
CHANGED
|
@@ -19,11 +19,12 @@ function registerChatTools(server, client) {
|
|
|
19
19
|
system_prompt: z.string().optional().describe('System prompt for the conversation. Only applied when creating a new session.'),
|
|
20
20
|
web_search: z.boolean().optional().describe('Enable web search for this message. Default: false'),
|
|
21
21
|
deep_think: z.boolean().optional().describe('Enable deep think (extended reasoning). Default: false'),
|
|
22
|
+
thinking_level: z.string().optional().describe('Thinking effort ID from list_models type="text" thinkingLevels. The server uses the model catalog default when omitted or invalid. Separate from legacy deep_think; safeguards take precedence.'),
|
|
22
23
|
enhance_prompt: z.boolean().optional().describe('Enhance the prompt. Default: false — only pass true if the user explicitly asks to enhance/improve the prompt.'),
|
|
23
24
|
media_urls: z.array(z.string()).optional().describe('Public URLs of images, videos, or audio files to analyze. The model auto-routes to a vision-capable model when media is present. For a local file, get a URL first via the LOCAL FILE route in this tool\'s description.'),
|
|
24
25
|
project_id: projectIdField
|
|
25
26
|
},
|
|
26
|
-
async ({ message, model, session_id, system_prompt, web_search, deep_think, enhance_prompt = false, media_urls, project_id }) => {
|
|
27
|
+
async ({ message, model, session_id, system_prompt, web_search, deep_think, thinking_level, enhance_prompt = false, media_urls, project_id }) => {
|
|
27
28
|
// Every generate_* tool resolves its model this way; chat was the one
|
|
28
29
|
// `model` arg that went straight to the API, which has no fuzzy matching.
|
|
29
30
|
// So the display names list_models hands back ("Claude Fable 5") came
|
|
@@ -38,6 +39,7 @@ function registerChatTools(server, client) {
|
|
|
38
39
|
system_prompt,
|
|
39
40
|
web_search,
|
|
40
41
|
deep_think,
|
|
42
|
+
...(thinking_level !== undefined ? { thinking_level } : {}),
|
|
41
43
|
enhance_prompt,
|
|
42
44
|
media_urls,
|
|
43
45
|
project_id
|