get_variable_from_database
Retrieve a stored variable from the agent's database, choosing between the most recent value or historical records with configurable time range and count.
Instructions
The variable to retrieve from the agent's database.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| variable | Yes | The variable to retrieve. | |
| variable_retrieval_depth | Yes | How far back to retrieve data. | most_recent_value |
| agent_db_historical_values | No | Historical data interval. | |
| agent_db_variable_retrieval_count | No | Number of items to retrieve (default: 10). |