Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.lyzn.ai/llms.txt

Use this file to discover all available pages before exploring further.

Read Variable (AI Tool)

Retrieve a value from a named variable that was previously stored. Returns the stored value or indicates if the variable doesn’t exist.

Properties

PropertyValue
Typeai-read-variable-tool
FamilyAI
GroupTools

Parameters

NameLabelTypeDescriptionRequired
toolNameTool NameStringName the AI will use to call this toolYes
toolDescriptionTool DescriptionStringDescription to help the AI understand when to use this toolYes
variableNameVariable NameStringThe name of the variable to read (e.g., ‘user_preference’, ‘search_results’)No

Outputs

NameLabelTypeDescription
variableNamevariableNamestringName of the variable that was read
valuevalueanyThe retrieved value (null if not found)
existsexistsbooleanWhether the variable exists