toolsets
Class info¶
Classes¶
| Name | Children | Inherits |
|---|---|---|
| ToolSet llmling.tools.toolsets Container class for related tools. |
🛈 DocStrings¶
Base class for tool collections.
ToolSet
¶
Bases: ABC
Container class for related tools.
Source code in src/llmling/tools/toolsets.py
get_llm_callable_tools
¶
get_llm_callable_tools() -> list[LLMCallableTool]
Get all tools as LLMCallableTools.
Returns:
| Type | Description |
|---|---|
list[LLMCallableTool]
|
List of LLMCallableTools ready for registration |
Raises:
| Type | Description |
|---|---|
ValueError
|
If a tool cannot be converted |
Source code in src/llmling/tools/toolsets.py
get_tools
abstractmethod
¶
Get all tools from this toolset.
Returns:
| Type | Description |
|---|---|
list[Callable[..., Any]]
|
List of callables to be converted to LLMCallableTools |