ToolSet
Sub classes¶
| Name | Children | Inherits |
|---|---|---|
| EntryPointTools llmling.tools.entry_points Collection of tools from entry points. |
||
| OpenAPITools llmling.tools.openapi Tool collection for OpenAPI endpoints. |
Base classes¶
| Name | Children | Inherits |
|---|---|---|
| ABC abc Helper class that provides a standard way to create an ABC using |
⋔ Inheritance diagram¶
graph TD
2761628901["toolsets.ToolSet"]
925645236["abc.ABC"]
2751680898["builtins.object"]
925645236 --> 2761628901
2751680898 --> 925645236
🛈 DocStrings¶
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 |