INVALID_TOOL_CALL_PROMPT = ( '\nYour previous tool call is invalid. Please check the following:\n' '1. Format: Must use {{json}}.\n' "2. Logic: Time range must be within **0 to {duration} seconds**.\n" 'please try again.\n' ) print(INVALID_TOOL_CALL_PROMPT.format(duration=10))