Grep algorithm sources.

Functions

Func

execute_search_source

Line 8
execute_search_source(**kwargs) -> Dict[str, Any]

Search algorithm source code for a text query.

Backs the tuiml_search_source tool; delegates to tuiml.agent.user_algorithms.search_source.

Parameters

query
str
Text to search for. Required (arrives via **kwargs, like all parameters below).
name
str = None
Restrict the search to one algorithm.
builtin
bool = True
Search built-in TuiML algorithm sources.
user
bool = True
Search user-created algorithm sources.

Returns

result
dict
Result dict from user_algorithms.search_source with status and the matches, or an error dict when query is missing.