user: I've got $1,000,000 set aside as an initial investment and plan to add $1,000 to it every year. I'm looking at a potential annual interest rate of 10% over the next three years. However, I also want to consider the inflation rates, which I expect to be 1% in the first year and 4% for the next two years. I need to calculate what the investment's value would be at the end of three years, factoring in these inflation rates. Can you help me with that?

Available functions:
name: calculate_future_value
description: Calculates the future value of an investment with periodic contributions.
parameters: type: dict
properties: present_value: type: integer
description: The present value of the investment.
annual_contribution: type: integer
description: The amount contributed to the investment annually.
years: type: integer
description: The number of years the investment will grow.
rate_of_return: type: float
description: The annual rate of return on the investment.
required: present_value
annual_contribution
years
rate_of_return
name: adjust_for_inflation
description: Adjusts the investment value for inflation for each year.
parameters: type: dict
properties: investment_value: type: float
description: The value of the investment to adjust.
inflation_rates: type: array
items: type: float
description: The inflation rates for each year.
required: investment_value
inflation_rates
name: calculate_investment_value
description: Calculates the value of an investment over time.
parameters: type: dict
properties: initial_investment: type: integer
description: The initial investment amount.
annual_contribution: type: integer
description: The annual contribution amount.
years: type: integer
description: The number of years to calculate the investment value for.
annual_return: type: float
description: The annual return rate, ranging from 0 to 1.
inflation_rate: type: array
items: type: float
description: The inflation rate for each year in percentage, ranging from 0 to 1.
adjust_for_inflation: type: boolean
default: yes
description: Whether to adjust the investment value for inflation.
required: initial_investment
annual_contribution
years
annual_return
inflation_rate

Ground truth function call(s):
calculate_investment_value(initial_investment=1000000, annual_contribution=1000, years=3, annual_return=0.10, inflation_rate=[0.01, 0.04, 0.04])