Groq Kimi K2 Instruct: tool call validation failed: parameters for tool edit did not match schema #1002

Closed
opened 2026-02-16 17:29:03 -05:00 by yindo · 2 comments
Owner

Originally created by @berenddeboer on GitHub (Jul 30, 2025).

Originally assigned to: @thdxr on GitHub.

Got this asking it for a simple replace.

{"message":"tool call validation failed: parameters for tool edit did not match
schema: errors: [missing properties: 'newString', additionalProperties
'arn:aws:lambda:\\\\${region}:\\\\${account}:layer:jdjl-php-83:2\\',
'newString\":' not allowed]","type":"invalid_request_error"}
```
Originally created by @berenddeboer on GitHub (Jul 30, 2025). Originally assigned to: @thdxr on GitHub. Got this asking it for a simple replace. ```` {"message":"tool call validation failed: parameters for tool edit did not match schema: errors: [missing properties: 'newString', additionalProperties 'arn:aws:lambda:\\\\${region}:\\\\${account}:layer:jdjl-php-83:2\\', 'newString\":' not allowed]","type":"invalid_request_error"} ```
yindo closed this issue 2026-02-16 17:29:03 -05:00
Author
Owner

@pepperpepperpepper commented on GitHub (Aug 1, 2025):

fixed in my branch https://github.com/sst/opencode/pull/1209

@pepperpepperpepper commented on GitHub (Aug 1, 2025): fixed in my branch https://github.com/sst/opencode/pull/1209
Author
Owner

@rekram1-node commented on GitHub (Dec 27, 2025):

[automated] Closing due to 90+ days of inactivity. Feel free to reopen if you still need this!

@rekram1-node commented on GitHub (Dec 27, 2025): [automated] Closing due to 90+ days of inactivity. Feel free to reopen if you still need this!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#1002