Home Assistant Unofficial Reference 2024.12.1
homeassistant.helpers.llm.Tool Class Reference
Inheritance diagram for homeassistant.helpers.llm.Tool:
[legend]

Public Member Functions

JsonObjectType async_call (self, HomeAssistant hass, ToolInput tool_input, LLMContext llm_context)
 

Static Public Attributes

 None
 
 Schema
 

Detailed Description

LLM Tool base class.

Definition at line 136 of file llm.py.

Member Function Documentation

◆ async_call()

JsonObjectType homeassistant.helpers.llm.Tool.async_call (   self,
HomeAssistant  hass,
ToolInput  tool_input,
LLMContext   llm_context 
)
Call the tool.

Reimplemented in homeassistant.helpers.llm.ScriptTool, and homeassistant.helpers.llm.IntentTool.

Definition at line 144 of file llm.py.

Member Data Documentation

◆ None

homeassistant.helpers.llm.Tool.None
static

Definition at line 140 of file llm.py.

◆ Schema

homeassistant.helpers.llm.Tool.Schema
static

Definition at line 141 of file llm.py.


The documentation for this class was generated from the following file: