Skip to content

Commit 3a43936

Browse files
fix: add missing items definition to labelIds array schema
The plan_update_issue tool schema defined labelIds as type "array" without an items definition, causing HTTP 400 from the LLM API on every session that loaded planner tools — including unrelated cron jobs. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent c6031be commit 3a43936

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/tools/planner-tools.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -408,6 +408,7 @@ export function createPlannerTools(): AnyAgentTool[] {
408408
priority: { type: "number", description: "New priority: 1=Urgent, 2=High, 3=Medium, 4=Low" },
409409
labelIds: {
410410
type: "array",
411+
items: { type: "string" },
411412
description: "Label IDs to set",
412413
},
413414
},

0 commit comments

Comments
 (0)