Public Member Functions | |
| None | __init__ (self, HomeAssistant hass, str script_entity_id) |
| JsonObjectType | async_call (self, HomeAssistant hass, ToolInput tool_input, LLMContext llm_context) |
Public Attributes | |
| name | |
| parameters | |
Private Attributes | |
| _object_id | |
Additional Inherited Members | |
Static Public Attributes inherited from homeassistant.helpers.llm.Tool | |
| None | |
| Schema | |
| None homeassistant.helpers.llm.ScriptTool.__init__ | ( | self, | |
| HomeAssistant | hass, | ||
| str | script_entity_id | ||
| ) |
| JsonObjectType homeassistant.helpers.llm.ScriptTool.async_call | ( | self, | |
| HomeAssistant | hass, | ||
| ToolInput | tool_input, | ||
| LLMContext | llm_context | ||
| ) |
Run the script.
Reimplemented from homeassistant.helpers.llm.Tool.