flow
(required): The input flow containing the data to be processed.plugin
(optional): The name of the plugin where the agent is located. Default is “core”. Choices include:
core
: The default Magick core plugin.discord
: The Discord plugin for integrating with Discord.slack
: The Slack plugin for integrating with Slack.flow
: The output flow with the retrieved agent state added.state
: The current state of the agent as an object.flow
to the node from which you want to retrieve the agent state.plugin
from the dropdown menu if the agent is not in the default “core” plugin.flow
to the next node in your spell.state
output to access the agent’s current state information in subsequent nodes.state
output is then passed to a Code node, which logs the agent’s name to the console. Finally, the Send Message node sends a message containing the entire agent state object.
plugin
if the agent is not in the default “core” plugin.state
output to access specific properties of the agent state object in subsequent nodes.plugin
is not found or the agent does not exist, the node will output an empty state
object.state
output may be undefined or empty.