> ## Documentation Index
> Fetch the complete documentation index at: https://docs.phinite.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Input Variables in Agent Node

<img src="https://mintcdn.com/phinite/spbPnSZPWmAXAKhH/images/Screenshot2026-02-11at6.44.29PM.png?fit=max&auto=format&n=spbPnSZPWmAXAKhH&q=85&s=74af0b17a5d2d880a8584b2c037da833" alt="Agent Node Input Variables Configuration" title="Agent Node Input Variables" style={{ width: "51%" }} width="1074" height="1004" data-path="images/Screenshot2026-02-11at6.44.29PM.png" />

## Overview

Input variables control which session variables are accessible to a specific agent node. 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:

<AccordionGroup>
  <Accordion title="Tool Capture Variables">
    Variables captured by tools during execution. Simply enter the exact variable name to include it.
  </Accordion>

  <Accordion title="Other Agent Capture Variables">
    Variables captured by other agent nodes in the same workflow.
  </Accordion>

  <Accordion title="Self Capture Variables">
    Variables previously captured by the same agent node in earlier executions.
  </Accordion>

  <Accordion title="User Variables (Agent Graph API)">
    When using the Agent Graph API, you can reference variables from the `user_variable` keys in the API payload.
  </Accordion>
</AccordionGroup>

<Tip>
  Only add the variables your agent actually needs. This improves performance and prevents the agent from being overwhelmed with unnecessary context.
</Tip>
