diff --git a/src/agents/pi-tools.read.ts b/src/agents/pi-tools.read.ts index d218add33..c30333c4f 100644 --- a/src/agents/pi-tools.read.ts +++ b/src/agents/pi-tools.read.ts @@ -194,7 +194,7 @@ export function patchToolSchemaForClaudeCompatibility(tool: AnyAgentTool): AnyAg parameters: { ...schema, properties, - ...(required.length > 0 ? { required } : {}), + required, }, }; }