diff --git a/package.json b/package.json index 3bb54ae..d907da6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@missionsquad/mcp-msq", - "version": "0.3.0", + "version": "0.3.1", "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 17e71ad..9b9ec37 100644 --- a/src/schemas.ts +++ b/src/schemas.ts @@ -132,7 +132,7 @@ 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('Temperature for model generation (stored in modelOptions). Use -1 or omit to use model default.'), + temperature: z.number().min(0).max(2).optional().describe('Temperature for model generation (0-2). 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.'),