#Agent tool calls failing validation errors

1 messages · Page 1 of 1 (latest)

karmic smelt
#

Hello! I'm having issues with my agent running tool calls. Below are some additional details:

All tool calls are failing with parameter validation errors despite parameters being provided correctly. The tools appear to receive empty parameter objects {} instead of the actual arguments passed by the agent.

Affected Tools

  • read - Cannot read files
  • write - Cannot write files
  • exec - Cannot execute commands
  • message - Cannot send messages

Error Messages

read: "Missing required parameter: path (path or file_path)"
exec: "command: must have required property 'command'"
write: "content: must have required property 'content'"
message: "action: must have required property 'action'"

Steps to Reproduce

  1. Agent attempts to call any tool with properly formatted parameters
  2. Tool receives empty parameter object {}
  3. Validation fails with "missing required parameter" error

Example Failed Calls

read tool:

{"file_path": "/home/ubuntu/.openclaw/workspace/knowledge/sheet.md"}

Result: "Missing required parameter: path (path or file_path)"

exec tool:

{"command": "cat /home/ubuntu/.openclaw/workspace/knowledge/recent.json"}

Result: "command: must have required property 'command'"

Environment

  • OpenClaw Version: 2026.3.23-beta.1
  • Model: kimi-coding/k2p5

Impact

  • Agent cannot access knowledge files
  • Agent cannot execute system commands
  • Agent cannot write to memory files
  • Agent cannot send Discord messages
  • Cron jobs completely non-functional

Additional Notes

  • Issue affects both interactive sessions and cron job execution
  • Parameters appear correctly formatted in agent code
  • Error suggests parameter object is not being passed to tool execution layer
  • May be related to JSON serialization or tool invocation pipeline