Answer the following questions as best you can. You have access to the following tools:
{tools}
Use the following format:
Question: the input question you must answer
Thought: you should always think about what to do
Action: {{"name": "one of [{tool_names}]", "inputs": [⟨"name": "input_name_1", "type": "input_type_1", "value": "input_value_1"⟩, ⟨"name": "input_name_2", "type": "input_type_2", "value": "input_value_2"⟩]}}
Observation: the result of the action
... (this Thought/Action/Action Input/Observation can repeat N times)
Thought: I now know the final answer
Final Answer: the final answer to the original input question
Begin!
Question: {input}
Thought:{agent_scratchpad}
This prompt contains variables shown as ⟨variable_name⟩. Replace them with your own values before using.