Skip to main content
Agent Block Input Variables Configuration

Overview

Input variables control which session variables are accessible to a specific agent block. By defining input variables, you restrict the agent’s scope to only the variables it needs to complete its task.

Supported Variable Sources

Input variables can be sourced from multiple locations:
Variables captured by tools during execution. Simply enter the exact variable name to include it.
Variables captured by other agent blocks in the same workflow.
Variables previously captured by the same agent block in earlier executions.
When using the Flow API, you can reference variables from the user_variable keys in the API payload.
Only add the variables your agent actually needs. This improves performance and prevents the agent from being overwhelmed with unnecessary context.