API Reference / agent / tools / workflow /

save_model.py

Model export to a user path.

Functions

Func

execute_save_model

Line 10
execute_save_model(**kwargs) -> Dict[str, Any]

Copy a trained model to a user-specified location.

Backs the tuiml_save_model tool.

Parameters

model_id
str
Identifier of a trained model from tuiml_train (arrives via **kwargs, like all parameters below).
destination
str
Target file path to copy the serialized model to.

Returns

result
dict
On success: status ('success'), model_id, source, destination (absolute path) and message. On failure: status ('error'), error, error_type and optionally suggestion.