Targeted source edit.
Functions
execute_edit_algorithm(**kwargs) -> Dict[str, Any]
Apply a string replacement edit to a user algorithm's source.
Backs the
tuiml_edit_algorithm tool; delegates to tuiml.agent.user_algorithms.edit_algorithm.Parameters
name
str
Algorithm class name to edit. Required (arrives via
**kwargs, like all parameters below).
old_string
str
Exact source text to replace. Required.
new_string
str
Replacement text. Required.
version
str
= None
Specific version to edit; defaults to the latest.
bump_version
bool
= False
Save the edit as a new bumped version instead of in place.
Returns
result
dict
Result dict from
user_algorithms.edit_algorithm with status and edit details, or an error dict listing missing required fields.