Skip to content

[Bug] HTTP 400 tools.N.custom.input_schema: JSON schema is invalid — blocks all tool use #58084

@jackycxl

Description

@jackycxl

Bug Description

After updating to OpenClaw 2026.3.28, all sub-agents (and sometimes main agent) fail with:

HTTP 400: tools.27.custom.input_schema: JSON schema is invalid. It must match JSON Schema draft 2020-12

The error occurs when any tool is invoked (e.g. read, file operations). The error is consistent and blocks all tool use.

Steps to Reproduce

  1. Create a sub-agent with its own workspace (e.g. front-02)
  2. Ask the sub-agent to read any file
  3. Agent responds with HTTP 400 and the JSON schema error above

Expected Behavior

Tool calls should work normally.

Additional Context

Questions

  1. Is there a known fix or workaround?
  2. Can OpenClaw provide a way to validate/fix tool schemas on startup?
  3. Is there a way to identify which tool (index 27) is causing the issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions