mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-06 14:51:08 +00:00
Add toolsAllow field to cron agent-turn payloads, enabling users to restrict which tool schemas are sent to the model for a given cron job. When --tools is set: - Only listed tools are included in the provider request - promptMode is forced to 'minimal' (strips skills catalog, reply tags, heartbeat, messaging, docs, memory, model aliases, silent replies) - Dramatically reduces input tokens for small local models (~16K to ~800) CLI surface: - openclaw cron add --tools exec,read,write - openclaw cron edit <id> --tools exec - openclaw cron edit <id> --clear-tools (remove allow-list) Closes #58435 Co-authored-by: andyk-ms <andyk-ms@users.noreply.github.com>