Skip to content

[bug]: unable to delete the fromAi tool parameter #4754

@marko-kriskovic

Description

@marko-kriskovic

Describe the bug

when I try to remove fromAi tool parameter or try to switch from dynamic to manual input, it doesn't save the workflow. I doesn't remove the parameters from "fromAi" array in code editor.

Screencast.from.2026-04-14.09-20-50.webm

Steps To Reproduce

  1. AI Agent
  2. add tool with nested object
  3. set value to dynamic and click on the ai icon
  4. a) set it back from dynamic, delete the value -> error (value is "=" instead of "[]")
    b) delete the value, set it back from dynamic -> error

Expected behavior

When switching to dynamic or from dynamic mode, it should delete the value from dynamicPropertyTypes, fromAi and parameters sections. The same when deleting the value in parameter

Version

latest

OS

ubuntu

Browser

No response

Additional context

No response

Metadata

Metadata

Labels

aiArtificial InteligencebugSomething isn't workingfrontendConcerning any and all frontend issues

Type

Projects

Status

✅ Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions