mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-12 21:53:00 -06:00
9edc531244
The automations tool shipped two near-duplicate ~1.4k-token object schemas (job for add, patch for update) in every prompt on the default tool path — 13,016 chars of tool schema, 88% of it the duplicated pair. One nullable object schema now serves both actions (7,864 chars, ~1.3k tokens saved per prompt): update reads the job parameter, and the add path strips null clears before the strict gateway cron.add contract while preserving the agentId/sessionKey nulls that cron.add accepts. Fixes #121606