ha_history_get_current_time
Get the current date and time from the Home Assistant server to anchor time-based queries with relative periods like 'last month' or 'yesterday'.
Instructions
Returns the current date and time from the Home Assistant server (Home). Call this before time-based queries that use relative or named periods such as "last month", "this winter", "yesterday", or "recently". Do not rely on your training data to infer the current date — it will often be wrong. Skip only if an absolute ISO date range has already been stated in this conversation.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "ha_history_get_current_time"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||