From 7717023f51fbb922482f8f7fc7ae487510ee1e9c Mon Sep 17 00:00:00 2001 From: Jayson Jacobs Date: Fri, 13 Mar 2026 22:57:43 -0600 Subject: [PATCH] fix maxTokens schema --- package.json | 2 +- src/schemas.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index d0f5944..6b9a7c4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@missionsquad/mcp-msq", - "version": "0.2.3", + "version": "0.2.4", "description": "MCP server interface for the MissionSquad API", "type": "module", "main": "dist/index.js", diff --git a/src/schemas.ts b/src/schemas.ts index fe67394..b77d7c8 100644 --- a/src/schemas.ts +++ b/src/schemas.ts @@ -132,8 +132,8 @@ export const UpdateAgentSchema = z.object({ timezoneOffset: NonEmptyString.optional().describe('Timezone offset string (e.g. "-05:00") used when addToday is true.'), tools: z.array(z.string()).optional().describe('Array of tool function names. Replaces all existing tools.'), selectedFunctions: z.record(z.array(z.string())).optional().describe('Map of MCP server name to function names. Replaces existing selectedFunctions.'), - temperature: z.number().optional().describe('New temperature setting.'), - maxTokens: z.number().int().optional().describe('New max tokens setting.'), + temperature: z.number().optional().describe('Temperature for model generation (stored in modelOptions). Use -1 or omit to use model default.'), + maxTokens: z.number().int().optional().describe('Max output tokens (stored in modelOptions). Use -1 or omit for unlimited/model default.'), combineSystemPrompts: z.boolean().optional().describe('Whether to combine system prompts from agent and messages.'), convertSystemPrompt: z.boolean().optional().describe('Whether to convert additional system prompts to user messages.'), })