You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think this is more of a limitation of JavaScript and JSON than an issue with the Inspector, so one way we might handle this is by saving and serializing the float values as strings, which could then parsed in the server as floats. We could also try to add a raw json mode to these fields. Not sure yet what would be the best way to handle this.
Hi, I've been looking into this and traced the root cause.
Proposed approach: Extend DynamicJsonForm's number handling (building on PR #1127's raw text preservation pattern) to preserve trailing zeros when serializing values for JSON-RPC. Option A: On blur, keep the raw text representation and use it directly when building JSON payloads (bypassing JS number normalization). Option B: Add a raw JSON toggle to parameter fields as the maintainer suggested. Option A is simpler and more targeted. Add a test verifying 1.0 is sent as 1.0 (not 1) in the JSON-RPC call.
I'll open a draft PR shortly. Happy to adjust based on your preference.
Thank you for reporting this, and apologies for the long wait for a response.
v1 will receive security fixes only — this issue describes a functionality, compatibility, or usability problem rather than a vulnerability, so it is being closed against v1. This is not a judgment on whether the problem is real — it's a consequence of the v1 line being frozen. This is happening as part of #1872.
If this still happens in v2, we'd genuinely like to know. v2 is a complete rewrite — three clients over a shared core — so many v1 behaviours no longer exist in the same form. Please open a fresh issue against v2 with steps to reproduce, and we'll look at it. Note that we accept external contributions as issues rather than pull requests; maintainers handle design and implementation through a prompt-driven workflow. See CONTRIBUTING.md.
Activity
olaservo commentedon Nov 23, 2025
I think this is more of a limitation of JavaScript and JSON than an issue with the Inspector, so one way we might handle this is by saving and serializing the float values as strings, which could then parsed in the server as floats. We could also try to add a raw json mode to these fields. Not sure yet what would be the best way to handle this.
majiayu000 commentedon Mar 29, 2026
Hi, I've been looking into this and traced the root cause.
Proposed approach: Extend DynamicJsonForm's number handling (building on PR #1127's raw text preservation pattern) to preserve trailing zeros when serializing values for JSON-RPC. Option A: On blur, keep the raw text representation and use it directly when building JSON payloads (bypassing JS number normalization). Option B: Add a raw JSON toggle to parameter fields as the maintainer suggested. Option A is simpler and more targeted. Add a test verifying 1.0 is sent as 1.0 (not 1) in the JSON-RPC call.
I'll open a draft PR shortly. Happy to adjust based on your preference.
fix(tools): allow entering decimal values like 1.0 in parameter fields
cliffhall commentedon Aug 1, 2026
Closing: v1 is deprecated.
Thank you for reporting this, and apologies for the long wait for a response.
v1 will receive security fixes only — this issue describes a functionality, compatibility, or usability problem rather than a vulnerability, so it is being closed against v1. This is not a judgment on whether the problem is real — it's a consequence of the v1 line being frozen. This is happening as part of #1872.
If this still happens in v2, we'd genuinely like to know. v2 is a complete rewrite — three clients over a shared core — so many v1 behaviours no longer exist in the same form. Please open a fresh issue against v2 with steps to reproduce, and we'll look at it. Note that we accept external contributions as issues rather than pull requests; maintainers handle design and implementation through a prompt-driven workflow. See
CONTRIBUTING.md.Thanks for taking the time to report it.
mrexodia commentedon Aug 1, 2026
Same bug exists in v2, opened #1888