openclaw - 💡(How to fix) Fix cron tool not available via tools/invoke [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openclaw/openclaw#55430Fetched 2026-04-08 01:39:34
View on GitHub
Comments
1
Participants
2
Timeline
3
Reactions
0
Author
Timeline (top)
closed ×1commented ×1locked ×1

Error Message

{"ok":false,"error":{"type":"not_found","message":"Tool not available: cron"}}

RAW_BUFFERClick to expand / collapse

The cron tool works via CLI but is not available via /tools/invoke even after setting tools.allow.

Environment:

  • Ubuntu 24.04 (WSL2)
  • OpenClaw 2026.3.24
  • Antfarm 0.5.1
  • Auth: OpenAI Codex OAuth

Steps:

  1. openclaw config set tools.allow '["cron"]' --json
  2. openclaw gateway restart
  3. openclaw cron list (works)
  4. POST /tools/invoke (fails)

Result: {"ok":false,"error":{"type":"not_found","message":"Tool not available: cron"}}

Expected: cron available via /tools/invoke

Impact: Antfarm workflows fail at startup due to cron unavailable

extent analysis

Fix Plan

The fix involves updating the OpenClaw configuration to include the cron tool in the allowed tools list for the /tools/invoke endpoint.

Steps to Fix

  • Update the OpenClaw configuration:
    • Run the command: openclaw config set tools.invoke_allow '["cron"]' --json
  • Restart the OpenClaw gateway:
    • Run the command: openclaw gateway restart
  • Verify the cron tool is available via /tools/invoke:
    • Use a tool like curl to send a POST request to /tools/invoke with the cron tool specified

Example Code

# Update OpenClaw configuration
openclaw config set tools.invoke_allow '["cron"]' --json

# Restart OpenClaw gateway
openclaw gateway restart

# Verify cron tool availability via /tools/invoke
curl -X POST \
  http://localhost/tools/invoke \
  -H 'Content-Type: application/json' \
  -d '{"tool": "cron", "args": ["list"]}'

Verification

After applying the fix, verify that the cron tool is available via /tools/invoke by checking the response from the curl command. The response should indicate that the cron tool is available and list the scheduled cron jobs.

Extra Tips

  • Ensure that the tools.invoke_allow configuration is updated correctly to include the cron tool.
  • If issues persist, check the OpenClaw logs for any errors related to the cron tool or the /tools/invoke endpoint.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING