Bug type
Behavior bug (incorrect output/state without crash)
Beta release blocker
No
Summary
The message tool schema declares buttons as a required parameter ("required": ["action", "buttons"]), causing all non-send actions (react, delete, edit, poll) to fail with validation error unless an empty buttons: [] array is passed.
Steps to reproduce
- Configure any Telegram channel in OpenClaw
- Have the agent call the
message tool with action: "react", emoji: "🫡", messageId: "<any_id>"
- Do NOT include
buttons parameter
- Observe validation failure:
Validation failed for tool "message": - buttons: must have required property 'buttons'
- Retry with
buttons: [] added - succeeds
Expected behavior
The message tool should accept action: "react" (and other non-send actions like delete, edit, poll) without requiring the buttons parameter. buttons should only be required when action: "send" and inline buttons are being used.
Actual behavior
Validation error returned:
Validation failed for tool "message":
- buttons: must have required property 'buttons'
Received arguments:
{
"action": "react",
"emoji": "🫡",
"messageId": "15147"
}
Adding buttons: [] as a workaround makes the call succeed. The reaction is applied correctly when the schema validation passes.
OpenClaw version
2026.3.24 (cff6dc9)
Operating system
macOS 26.3.1 (Darwin 25.3.0, arm64)
Install method
npm (global install via Homebrew node)
Model
anthropic/claude-opus-4-6 (also reproduces with claude-sonnet-4-6 and claude-haiku-4-5)
Provider / routing chain
Anthropic API direct (no proxy)
Additional provider/model setup details
No response
Logs, screenshots, and evidence
Impact and severity
No response
Additional information
No response
Bug type
Behavior bug (incorrect output/state without crash)
Beta release blocker
No
Summary
The
messagetool schema declaresbuttonsas a required parameter ("required": ["action", "buttons"]), causing all non-send actions (react, delete, edit, poll) to fail with validation error unless an emptybuttons: []array is passed.Steps to reproduce
messagetool withaction: "react",emoji: "🫡",messageId: "<any_id>"buttonsparameterValidation failed for tool "message": - buttons: must have required property 'buttons'buttons: []added - succeedsExpected behavior
The
messagetool should acceptaction: "react"(and other non-send actions like delete, edit, poll) without requiring thebuttonsparameter.buttonsshould only be required whenaction: "send"and inline buttons are being used.Actual behavior
Validation error returned:
Adding
buttons: []as a workaround makes the call succeed. The reaction is applied correctly when the schema validation passes.OpenClaw version
2026.3.24 (cff6dc9)
Operating system
macOS 26.3.1 (Darwin 25.3.0, arm64)
Install method
npm (global install via Homebrew node)
Model
anthropic/claude-opus-4-6 (also reproduces with claude-sonnet-4-6 and claude-haiku-4-5)
Provider / routing chain
Anthropic API direct (no proxy)
Additional provider/model setup details
No response
Logs, screenshots, and evidence
Impact and severity
No response
Additional information
No response