mirror of
https://github.com/msitarzewski/agency-agents.git
synced 2026-10-09 20:25:02 +00:00
Merge #1051: Require integer pagination limits in MCP Builder tools
This commit is contained in:
@@ -73,7 +73,7 @@ server.tool(
|
||||
{
|
||||
status: z.enum(["open", "in_progress", "resolved", "closed"]).describe("Filter by ticket status"),
|
||||
priority: z.enum(["low", "medium", "high", "critical"]).optional().describe("Filter by priority level"),
|
||||
limit: z.number().min(1).max(100).default(20).describe("Max results to return"),
|
||||
limit: z.number().int().min(1).max(100).default(20).describe("Max results to return"),
|
||||
},
|
||||
async ({ status, priority, limit }) => {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user